From 52b261e19efb56800399a7b7d7517bd91dbbdbf0 Mon Sep 17 00:00:00 2001 From: Mikhael Bogdanov Date: Tue, 17 Jul 2018 13:16:31 +0200 Subject: [PATCH] Fix test data --- .../bound/boundJvmFieldInInterfaceCompanion.kt | 1 - .../annotations/jvmField/interface13.txt | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/compiler/testData/codegen/box/callableReference/bound/boundJvmFieldInInterfaceCompanion.kt b/compiler/testData/codegen/box/callableReference/bound/boundJvmFieldInInterfaceCompanion.kt index 173a9fc2865..cb901b2c384 100644 --- a/compiler/testData/codegen/box/callableReference/bound/boundJvmFieldInInterfaceCompanion.kt +++ b/compiler/testData/codegen/box/callableReference/bound/boundJvmFieldInInterfaceCompanion.kt @@ -1,7 +1,6 @@ // !LANGUAGE: +JvmFieldInInterface // TARGET_BACKEND: JVM // WITH_RUNTIME -import kotlin.reflect.full.memberProperties class Bar(val value: String) diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmField/interface13.txt b/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmField/interface13.txt index 97809385109..14c48063f67 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmField/interface13.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/jvmField/interface13.txt @@ -73,3 +73,17 @@ public interface E { public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String } } + +public interface F { + public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String + + public companion object Companion { + private constructor Companion() + @kotlin.jvm.JvmField public open val a: kotlin.Int = 3 + public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String + } +}