Add JVM ABI K1/K2 consistency tests
This commit is contained in:
committed by
Space Team
parent
5a1fb78fcd
commit
34bac48541
@@ -0,0 +1,35 @@
|
||||
MODULE main
|
||||
CLASS B.class
|
||||
CLASS METADATA
|
||||
PROPERTY foo
|
||||
Property: class.metadata.property.getterModifiers
|
||||
K1
|
||||
private final /* non-default */
|
||||
K2
|
||||
private final
|
||||
CLASS C.class
|
||||
CLASS METADATA
|
||||
PROPERTY foo
|
||||
Property: class.metadata.property.getterModifiers
|
||||
K1
|
||||
private final /* non-default */
|
||||
K2
|
||||
private final
|
||||
Property: class.metadata.property.setterModifiers
|
||||
K1
|
||||
private final /* non-default */
|
||||
K2
|
||||
private final
|
||||
Property: class.metadata.property.setterValueParameter
|
||||
K1
|
||||
<set-?>: kotlin/Int
|
||||
K2
|
||||
---
|
||||
CLASS D.class
|
||||
CLASS METADATA
|
||||
PROPERTY getFoo()I
|
||||
Property: class.metadata.property.setterValueParameter
|
||||
K1
|
||||
<set-?>: kotlin/Int
|
||||
K2
|
||||
value: kotlin/Int
|
||||
@@ -3,6 +3,7 @@
|
||||
// IGNORE_BACKEND_K2: JS_IR, JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
// IGNORE_BACKEND: JS
|
||||
// JVM_ABI_K1_K2_DIFF: KT-63850, KT-63984
|
||||
|
||||
// KT-2202 Wrong instruction for invoke private setter
|
||||
|
||||
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
MODULE main
|
||||
CLASS Test.class
|
||||
CLASS METADATA
|
||||
PROPERTY getMessages()Ljava/util/ArrayList;
|
||||
Property: class.metadata.property.returnType
|
||||
K1
|
||||
java/util/ArrayList<kotlin/String> /* = kotlin/collections/ArrayList^<kotlin/String> */
|
||||
K2
|
||||
java/util/ArrayList<kotlin/String>
|
||||
@@ -1,4 +1,6 @@
|
||||
// WITH_STDLIB
|
||||
// JVM_ABI_K1_K2_DIFF: KT-63864
|
||||
|
||||
// FILE: messages/foo.kt
|
||||
|
||||
package messages
|
||||
|
||||
Reference in New Issue
Block a user