Files
kotlin-fork/idea/testData/quickfix/replaceJvmFieldWithConst/companionInInterface.kt
T
Mikhail Glukhikh 362ee126d1 Add language version 1.2 to quick-fix tests for companion in interface
In 1.3, companion members in interface can be annotated with JvmField,
so fix replacing JvmField with const is no more actual.
This fixes testCompanionInInterface.
2018-09-18 11:50:35 +03:00

8 lines
181 B
Kotlin
Vendored

// "Replace '@JvmField' with 'const'" "true"
// WITH_RUNTIME
// LANGUAGE_VERSION: 1.2
interface IFace {
companion object {
<caret>@JvmField val a = "Lorem ipsum"
}
}