Add JVM ABI K1/K2 consistency tests
This commit is contained in:
committed by
Space Team
parent
5a1fb78fcd
commit
34bac48541
+42
@@ -0,0 +1,42 @@
|
||||
MODULE main
|
||||
CLASS DeprecatedPropertyKt.class
|
||||
PACKAGE METADATA
|
||||
PROPERTY getTestValWithExplicitDefaultGet()I
|
||||
Property: class.metadata.property.getterModifiers
|
||||
K1
|
||||
public final /* non-default */
|
||||
K2
|
||||
public final
|
||||
PROPERTY getTestVarWithExplicitDefaultGet()I
|
||||
Property: class.metadata.property.getterModifiers
|
||||
K1
|
||||
public final /* non-default */
|
||||
K2
|
||||
public final
|
||||
PROPERTY getTestVarWithExplicitDefaultGetSet()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 getTestVarWithExplicitDefaultSet()I
|
||||
Property: class.metadata.property.setterModifiers
|
||||
K1
|
||||
public final /* non-default */
|
||||
K2
|
||||
public final
|
||||
Property: class.metadata.property.setterValueParameter
|
||||
K1
|
||||
<set-?>: kotlin/Int
|
||||
K2
|
||||
---
|
||||
@@ -1,3 +1,5 @@
|
||||
// JVM_ABI_K1_K2_DIFF: KT-63850, KT-63854
|
||||
|
||||
@Deprecated("")
|
||||
val testVal = 1
|
||||
|
||||
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
MODULE main
|
||||
CLASS Delegated.class
|
||||
CLASS METADATA
|
||||
K1
|
||||
---
|
||||
K2
|
||||
extProp
|
||||
K1
|
||||
getExtProp(Ljava/lang/String;)Ljava/lang/String;
|
||||
K2
|
||||
---
|
||||
K1
|
||||
getProp()Ljava/lang/String;
|
||||
K2
|
||||
---
|
||||
K1
|
||||
---
|
||||
K2
|
||||
prop
|
||||
CLASS Delegated2.class
|
||||
CLASS METADATA
|
||||
K1
|
||||
---
|
||||
K2
|
||||
extProp
|
||||
K1
|
||||
getExtProp(Ljava/lang/String;)Ljava/lang/String;
|
||||
K2
|
||||
---
|
||||
K1
|
||||
getProp()Ljava/lang/String;
|
||||
K2
|
||||
---
|
||||
K1
|
||||
---
|
||||
K2
|
||||
prop
|
||||
@@ -1,3 +1,5 @@
|
||||
// JVM_ABI_K1_K2_DIFF: KT-63828
|
||||
|
||||
interface IFoo {
|
||||
@Deprecated("")
|
||||
val prop: String get() = ""
|
||||
|
||||
Reference in New Issue
Block a user