Add JVM ABI K1/K2 consistency tests
This commit is contained in:
committed by
Space Team
parent
5a1fb78fcd
commit
34bac48541
@@ -0,0 +1,9 @@
|
||||
MODULE main
|
||||
CLASS Cached.class
|
||||
CLASS METADATA
|
||||
PROPERTY getStore()Ljava/util/HashMap;
|
||||
Property: class.metadata.property.returnType
|
||||
K1
|
||||
java/util/HashMap<T#0, T#1> /* = kotlin/collections/HashMap^<T#0, T#1> */
|
||||
K2
|
||||
java/util/HashMap<T#0, T#1>
|
||||
@@ -3,6 +3,7 @@
|
||||
//KT-3190 Compiler crash if function called 'invoke' calls a closure
|
||||
// IGNORE_BACKEND: JS
|
||||
// JS backend does not allow to implement Function{N} interfaces
|
||||
// JVM_ABI_K1_K2_DIFF: KT-63864
|
||||
|
||||
fun box(): String {
|
||||
val test = Cached<Int,Int>({ it + 2 })
|
||||
|
||||
Reference in New Issue
Block a user