Files
kotlin/idea/testData/quickfix/replaceJvmFieldWithConst/stringTemplateWithConstants.kt
Vyacheslav Gerasimov dcae66a727 Add quickfix for INAPPLICABLE_JVM_FIELD
replaces with 'const' when possible

#KT-10981 Fixed
2017-04-20 12:10:20 +03:00

4 lines
131 B
Kotlin
Vendored

// "Replace '@JvmField' with 'const'" "true"
// WITH_RUNTIME
const val three = 3
<caret>@JvmField private val text = "${2 + three}"