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:
Mikhail Glukhikh
2018-09-12 17:38:29 +03:00
parent 81406a2bac
commit 362ee126d1
2 changed files with 2 additions and 0 deletions
@@ -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"