Files
kotlin-fork/idea/testData/quickfix/modifiers/constVal.before.Main.kt
T

11 lines
187 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