From b49e8155198ce668aad271ef60a489693b48053e Mon Sep 17 00:00:00 2001 From: Denis Zharkov Date: Mon, 21 Sep 2015 18:14:35 +0300 Subject: [PATCH] Report warning on usages of non-const vals in places where constants expected GitOrigin-RevId: 117e638673d2918812f11f59a5777755ecfc8982 --- .../kotlin/idea/tests/testData/checker/AnnotationOnFile.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/kotlin/idea/tests/testData/checker/AnnotationOnFile.kt b/plugins/kotlin/idea/tests/testData/checker/AnnotationOnFile.kt index 7f2a7be0e1f5..30efb2cdcbd6 100644 --- a/plugins/kotlin/idea/tests/testData/checker/AnnotationOnFile.kt +++ b/plugins/kotlin/idea/tests/testData/checker/AnnotationOnFile.kt @@ -16,8 +16,8 @@ package boo -val BAZ = "baz" -val N = 0 +const val BAZ = "baz" +const val N = 0 @Target(AnnotationTarget.FILE) @Retention(AnnotationRetention.SOURCE)