Make NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION error
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
// "Add 'const' modifier" "true"
|
||||
// ERROR: Only 'const val' can be used in constant expressions
|
||||
|
||||
package constVal
|
||||
|
||||
val i = 1
|
||||
|
||||
Reference in New Issue
Block a user