Files
kotlin/idea/testData/quickfix/modifiers/constVal.before.Main.kt
2017-12-15 13:31:41 +03:00

11 lines
185 B
Kotlin
Vendored

// "Make 'i' const" "true"
// ERROR: Only 'const val' can be used in constant expressions
package constVal
val i = 1
annotation class Fancy(val param: Int)
@Fancy(<caret>i) class D