Report warning on usages of non-const vals in places where constants expected

This commit is contained in:
Denis Zharkov
2015-09-21 18:14:35 +03:00
parent 8d13f08271
commit afd4e644a3
21 changed files with 105 additions and 29 deletions
+2 -2
View File
@@ -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)