Report warning on usages of non-const vals in places where constants expected
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user