Add JVM ABI K1/K2 consistency tests
This commit is contained in:
committed by
Space Team
parent
5a1fb78fcd
commit
34bac48541
@@ -0,0 +1,6 @@
|
||||
MODULE main
|
||||
CLASS ZImpl2.class
|
||||
K1
|
||||
---
|
||||
K2
|
||||
test(Ljava/lang/String;)Ljava/lang/String; [public]
|
||||
@@ -1,3 +1,5 @@
|
||||
// JVM_ABI_K1_K2_DIFF: KT-62781
|
||||
|
||||
interface Z<T> {
|
||||
fun test(p: T): T {
|
||||
return p
|
||||
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
MODULE main
|
||||
CLASS ObjectExtendsLocalInnerKt$box$Local.class
|
||||
CLASS METADATA
|
||||
PROPERTY getObj()LObjectExtendsLocalInnerKt$box$Local$obj$1;
|
||||
Property: class.metadata.property.returnType
|
||||
K1
|
||||
.ObjectExtendsLocalInnerKt$box$Local$obj$1
|
||||
K2
|
||||
.ObjectExtendsLocalInnerKt$box$Local.<no name provided>
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// JVM_ABI_K1_K2_DIFF: KT-63655
|
||||
fun box(): String {
|
||||
val capture = "O"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user