Files
kotlin-fork/idea/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithVal.kt
T
2019-06-17 01:10:19 +03:00

11 lines
371 B
Kotlin
Vendored

// "Replace '@JvmField' with 'const'" "false"
// WITH_RUNTIME
// ERROR: JvmField has no effect on a private property
// ACTION: Convert to lazy property
// ACTION: Add 'const' modifier
// ACTION: Make internal
// ACTION: Make public
// ACTION: Specify type explicitly
// ACTION: Add use-site target 'field'
val three = 3
<caret>@JvmField private val text = "${2 + three}"