Add JVM ABI K1/K2 consistency tests

This commit is contained in:
vladislav.grechko
2023-12-26 10:18:19 +00:00
committed by Space Team
parent 5a1fb78fcd
commit 34bac48541
1104 changed files with 88413 additions and 66 deletions
@@ -0,0 +1,9 @@
MODULE main
CLASS FunctionalTypeKt.class
PACKAGE METADATA
FUNCTION f(LO;LK;Lkotlin/jvm/functions/Function3;)Ljava/lang/Object;
Property: class.metadata.function.valueParameters
K1
(g: @kotlin/ExtensionFunctionType @kotlin/ContextFunctionTypeParams(count = 1) kotlin/Function3<O, K, Param, T#0>)
K2
(g: @kotlin/ContextFunctionTypeParams(count = 1) @kotlin/ExtensionFunctionType kotlin/Function3<O, K, Param, T#0>)
@@ -1,5 +1,6 @@
// !LANGUAGE: +ContextReceivers
// TARGET_BACKEND: JVM_IR
// JVM_ABI_K1_K2_DIFF: different order of function annotations
class Param
class O {