FIR: introduce three diagnostics for const val
This commit is contained in:
committed by
Mikhail Glukhikh
parent
cc106085e2
commit
334d0a8b5a
+1
-1
@@ -1,6 +1,6 @@
|
||||
val nonConst = 1
|
||||
|
||||
const val constConst = nonConst * nonConst + 2
|
||||
const val constConst = <!CONST_VAL_WITH_NON_CONST_INITIALIZER!>nonConst * nonConst + 2<!>
|
||||
|
||||
annotation class Ann(val x: Int, val y: String)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user