Add JVM ABI K1/K2 consistency tests
This commit is contained in:
committed by
Space Team
parent
5a1fb78fcd
commit
34bac48541
+66
@@ -0,0 +1,66 @@
|
||||
MODULE main
|
||||
CLASS A.class
|
||||
CLASS METADATA
|
||||
PROPERTY getX()I
|
||||
Property: class.metadata.property.getterModifiers
|
||||
K1
|
||||
public final
|
||||
K2
|
||||
public final /* non-default */
|
||||
PROPERTY getY()I
|
||||
Property: class.metadata.property.getterModifiers
|
||||
K1
|
||||
public final
|
||||
K2
|
||||
public final /* non-default */
|
||||
CLASS B.class
|
||||
CLASS METADATA
|
||||
PROPERTY getY()LA;
|
||||
Property: class.metadata.property.getterModifiers
|
||||
K1
|
||||
public final
|
||||
K2
|
||||
public final /* non-default */
|
||||
CLASS C.class
|
||||
CLASS METADATA
|
||||
PROPERTY getX()LA;
|
||||
Property: class.metadata.property.setterModifiers
|
||||
K1
|
||||
public final
|
||||
K2
|
||||
public final /* non-default */
|
||||
Property: class.metadata.property.setterValueParameter
|
||||
K1
|
||||
---
|
||||
K2
|
||||
value: A
|
||||
PROPERTY getY()LA;
|
||||
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: A?
|
||||
CLASS AnnotationsKt.class
|
||||
PACKAGE METADATA
|
||||
PROPERTY getT(LC;)LA;
|
||||
Property: class.metadata.property.setterValueParameter
|
||||
K1
|
||||
<anonymous parameter 0>: A
|
||||
K2
|
||||
_: A
|
||||
PROPERTY getT-iUtXLc0(II)LA;
|
||||
Property: class.metadata.property.setterValueParameter
|
||||
K1
|
||||
<anonymous parameter 0>: A
|
||||
K2
|
||||
_: A
|
||||
@@ -2,6 +2,8 @@
|
||||
// WITH_STDLIB
|
||||
// FIR_IDENTICAL
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// JVM_ABI_K1_K2_DIFF: KT-63843, KT-62582
|
||||
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user