Add JVM ABI K1/K2 consistency tests
This commit is contained in:
committed by
Space Team
parent
5a1fb78fcd
commit
34bac48541
+35
@@ -0,0 +1,35 @@
|
||||
MODULE main
|
||||
CLASS Example.class
|
||||
CLASS METADATA
|
||||
PROPERTY getProp2()I
|
||||
Property: class.metadata.property.getterModifiers
|
||||
K1
|
||||
public final /* non-default */
|
||||
K2
|
||||
public final
|
||||
Property: class.metadata.property.setterModifiers
|
||||
K1
|
||||
public final /* non-default */
|
||||
K2
|
||||
public final
|
||||
Property: class.metadata.property.setterValueParameter
|
||||
K1
|
||||
<set-?>: kotlin/Int
|
||||
K2
|
||||
---
|
||||
PROPERTY getUseSite2()I
|
||||
Property: class.metadata.property.getterModifiers
|
||||
K1
|
||||
public final /* non-default */
|
||||
K2
|
||||
public final
|
||||
Property: class.metadata.property.setterModifiers
|
||||
K1
|
||||
public final /* non-default */
|
||||
K2
|
||||
public final
|
||||
Property: class.metadata.property.setterValueParameter
|
||||
K1
|
||||
<set-?>: kotlin/Int
|
||||
K2
|
||||
---
|
||||
@@ -1,4 +1,5 @@
|
||||
// WITH_STDLIB
|
||||
// JVM_ABI_K1_K2_DIFF: KT-63853
|
||||
|
||||
class Example {
|
||||
@JvmSynthetic
|
||||
|
||||
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
MODULE main
|
||||
CLASS DFoo.class
|
||||
CLASS METADATA
|
||||
K1
|
||||
getTestExtVal(Ljava/lang/String;)Ljava/lang/String;
|
||||
K2
|
||||
---
|
||||
K1
|
||||
getTestVal()Ljava/lang/String;
|
||||
K2
|
||||
---
|
||||
K1
|
||||
---
|
||||
K2
|
||||
testExtVal
|
||||
K1
|
||||
---
|
||||
K2
|
||||
testVal
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// JVM_ABI_K1_K2_DIFF: KT-63828
|
||||
|
||||
annotation class Ann
|
||||
|
||||
interface IFoo {
|
||||
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
MODULE main
|
||||
CLASS A.class
|
||||
CLASS METADATA
|
||||
PROPERTY getP()I
|
||||
Property: class.metadata.property.setterValueParameter
|
||||
K1
|
||||
<set-?>: kotlin/Int
|
||||
K2
|
||||
value: kotlin/Int
|
||||
PROPERTY getY()I
|
||||
Property: class.metadata.property.getterModifiers
|
||||
K1
|
||||
public final
|
||||
K2
|
||||
public final /* non-default */
|
||||
Property: class.metadata.property.setterModifiers
|
||||
K1
|
||||
public final
|
||||
K2
|
||||
public final /* non-default */
|
||||
Property: class.metadata.property.setterValueParameter
|
||||
K1
|
||||
---
|
||||
K2
|
||||
value: kotlin/Int
|
||||
@@ -1,4 +1,5 @@
|
||||
// !LANGUAGE: +UseGetterNameForPropertyAnnotationsMethodOnJvm
|
||||
// JVM_ABI_K1_K2_DIFF: KT-63843, KT-63984
|
||||
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
|
||||
Reference in New Issue
Block a user