KT-15010 Missing error on an usage non-constant property in annotation default argument
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
val CONST = 1
|
||||
const val CONST = 1
|
||||
fun foo() = 1
|
||||
val nonConst = foo()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user