From f38bb19fc6755fdf7286dc543fc9a4ed6b558f46 Mon Sep 17 00:00:00 2001 From: Ilya Chernikov Date: Thu, 19 Dec 2019 13:45:35 +0100 Subject: [PATCH] [minor] Fix testdata for compiler 1.4 --- .../codegen/bytecodeListing/annotations/defaultTargets.kt | 2 ++ .../codegen/bytecodeListing/annotations/onProperties.kt | 2 ++ .../bytecodeListing/inline/InlineOnlyPropertyMultifile.kt | 1 + .../codegen/bytecodeListing/inline/inlineOnlyProperty.kt | 1 + .../inlineClasses/inlineClassWithManyKindsOfMembers.kt | 2 +- .../bytecodeListing/multiplatform/optionalExpectation.kt | 2 +- 6 files changed, 8 insertions(+), 2 deletions(-) diff --git a/compiler/testData/codegen/bytecodeListing/annotations/defaultTargets.kt b/compiler/testData/codegen/bytecodeListing/annotations/defaultTargets.kt index 78b3966a80d..2ef84daccfd 100644 --- a/compiler/testData/codegen/bytecodeListing/annotations/defaultTargets.kt +++ b/compiler/testData/codegen/bytecodeListing/annotations/defaultTargets.kt @@ -1,3 +1,5 @@ +// !LANGUAGE: -UseGetterNameForPropertyAnnotationsMethodOnJvm + @Target(AnnotationTarget.PROPERTY) annotation class AnnProperty diff --git a/compiler/testData/codegen/bytecodeListing/annotations/onProperties.kt b/compiler/testData/codegen/bytecodeListing/annotations/onProperties.kt index cf4f0560177..a2eef61f554 100644 --- a/compiler/testData/codegen/bytecodeListing/annotations/onProperties.kt +++ b/compiler/testData/codegen/bytecodeListing/annotations/onProperties.kt @@ -1,3 +1,5 @@ +// !LANGUAGE: -UseGetterNameForPropertyAnnotationsMethodOnJvm + import kotlin.reflect.KProperty annotation class AnnProp diff --git a/compiler/testData/codegen/bytecodeListing/inline/InlineOnlyPropertyMultifile.kt b/compiler/testData/codegen/bytecodeListing/inline/InlineOnlyPropertyMultifile.kt index eea86a13e37..65903b1f97b 100644 --- a/compiler/testData/codegen/bytecodeListing/inline/InlineOnlyPropertyMultifile.kt +++ b/compiler/testData/codegen/bytecodeListing/inline/InlineOnlyPropertyMultifile.kt @@ -1,3 +1,4 @@ +// !LANGUAGE: -UseGetterNameForPropertyAnnotationsMethodOnJvm // WITH_RUNTIME @file:[JvmName("Foo") JvmMultifileClass] diff --git a/compiler/testData/codegen/bytecodeListing/inline/inlineOnlyProperty.kt b/compiler/testData/codegen/bytecodeListing/inline/inlineOnlyProperty.kt index 84be35ba95e..435c513200c 100644 --- a/compiler/testData/codegen/bytecodeListing/inline/inlineOnlyProperty.kt +++ b/compiler/testData/codegen/bytecodeListing/inline/inlineOnlyProperty.kt @@ -1,3 +1,4 @@ +// !LANGUAGE: -UseGetterNameForPropertyAnnotationsMethodOnJvm // WITH_RUNTIME @Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") diff --git a/compiler/testData/codegen/bytecodeListing/inlineClasses/inlineClassWithManyKindsOfMembers.kt b/compiler/testData/codegen/bytecodeListing/inlineClasses/inlineClassWithManyKindsOfMembers.kt index ce07b436a73..0a8177035d9 100644 --- a/compiler/testData/codegen/bytecodeListing/inlineClasses/inlineClassWithManyKindsOfMembers.kt +++ b/compiler/testData/codegen/bytecodeListing/inlineClasses/inlineClassWithManyKindsOfMembers.kt @@ -1,4 +1,4 @@ -// !LANGUAGE: +InlineClasses +// !LANGUAGE: +InlineClasses -UseGetterNameForPropertyAnnotationsMethodOnJvm interface IFoo { fun overridingFun() diff --git a/compiler/testData/codegen/bytecodeListing/multiplatform/optionalExpectation.kt b/compiler/testData/codegen/bytecodeListing/multiplatform/optionalExpectation.kt index 29914cf6efd..9014629a54a 100644 --- a/compiler/testData/codegen/bytecodeListing/multiplatform/optionalExpectation.kt +++ b/compiler/testData/codegen/bytecodeListing/multiplatform/optionalExpectation.kt @@ -1,4 +1,4 @@ -// !LANGUAGE: +MultiPlatformProjects +// !LANGUAGE: +MultiPlatformProjects -UseGetterNameForPropertyAnnotationsMethodOnJvm // !USE_EXPERIMENTAL: kotlin.ExperimentalMultiplatform // TARGET_BACKEND: JVM // WITH_RUNTIME