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