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.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
// "Replace '@JvmField' with 'const'" "true"
|
||||
// WITH_RUNTIME
|
||||
// LANGUAGE_VERSION: 1.2
|
||||
interface IFace {
|
||||
companion object {
|
||||
<caret>@JvmField val a = "Lorem ipsum"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// "Replace '@JvmField' with 'const'" "true"
|
||||
// WITH_RUNTIME
|
||||
// LANGUAGE_VERSION: 1.2
|
||||
interface IFace {
|
||||
companion object {
|
||||
const val a = "Lorem ipsum"
|
||||
|
||||
Reference in New Issue
Block a user