diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxInlineCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxInlineCodegenTestGenerated.java index 6c223d4794832..183419c08731f 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxInlineCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxInlineCodegenTestGenerated.java @@ -1727,6 +1727,12 @@ public void testCheckStaticObjectClassIsPresent() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticObjectClassIsPresent.kt"); } + @Test + @TestMetadata("defaultAfterCapturing.kt") + public void testDefaultAfterCapturing() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt"); + } + @Test @TestMetadata("defaultCallInDefaultLambda.kt") public void testDefaultCallInDefaultLambda() throws Exception { @@ -1841,6 +1847,12 @@ public void testReceiverClashInClass2() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt"); } + @Test + @TestMetadata("reordering.kt") + public void testReordering() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt"); + } + @Test @TestMetadata("simple.kt") public void testSimple() throws Exception { @@ -1958,6 +1970,12 @@ public void testConstuctorReference() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt"); } + @Test + @TestMetadata("defaultAfterBoundReference.kt") + public void testDefaultAfterBoundReference() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt"); + } + @Test @TestMetadata("differentInvokeSignature.kt") public void testDifferentInvokeSignature() throws Exception { diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt new file mode 100644 index 0000000000000..6d2cff0566894 --- /dev/null +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt @@ -0,0 +1,12 @@ +// NO_CHECK_LAMBDA_INLINING +// FILE: 1.kt +package test + +inline fun foo(x: () -> String, y: () -> String, z: () -> String = { "" }) = + x() + y() + z() + + +// FILE: 2.kt +import test.* + +fun box(): String = foo("O"::toString, { "K" }) diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt new file mode 100644 index 0000000000000..c28876ff68809 --- /dev/null +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt @@ -0,0 +1,15 @@ +// NO_CHECK_LAMBDA_INLINING +// FILE: 1.kt +package test + +inline fun foo(unused: Long, x: () -> String, y: () -> String, z: () -> String = { "" }) = + x() + y() + z() + + +// FILE: 2.kt +import test.* + +fun box(): String { + val O = "O" + return foo(1L, { O }, { "K" }) +} diff --git a/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt new file mode 100644 index 0000000000000..8bedb47d38de8 --- /dev/null +++ b/compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt @@ -0,0 +1,15 @@ +// NO_CHECK_LAMBDA_INLINING +// FILE: 1.kt +package test + +// This reproduces KT-48180 without captures in the old backend. +// 0 1 2 3 4 +inline fun foo(a: Int, b: () -> String, c: () -> String = { "K" }, d: Int = 1, e: Long = 1L) = + b() + c() + +// FILE: 2.kt +import test.* + +// This is why we can't compute offsets while generating arguments: +// 0 2 [3 is c] 4 5 +fun box() = foo(e = 2L, b = { "O" }, d = 1, a = 1) diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxInlineCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxInlineCodegenTestGenerated.java index 3148c855767dc..1b7a119e0604a 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxInlineCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxInlineCodegenTestGenerated.java @@ -1715,6 +1715,12 @@ public void testCheckStaticObjectClassIsPresent() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticObjectClassIsPresent.kt"); } + @Test + @TestMetadata("defaultAfterCapturing.kt") + public void testDefaultAfterCapturing() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt"); + } + @Test @TestMetadata("defaultCallInDefaultLambda.kt") public void testDefaultCallInDefaultLambda() throws Exception { @@ -1829,6 +1835,12 @@ public void testReceiverClashInClass2() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt"); } + @Test + @TestMetadata("reordering.kt") + public void testReordering() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt"); + } + @Test @TestMetadata("simple.kt") public void testSimple() throws Exception { @@ -1946,6 +1958,12 @@ public void testConstuctorReference() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt"); } + @Test + @TestMetadata("defaultAfterBoundReference.kt") + public void testDefaultAfterBoundReference() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt"); + } + @Test @TestMetadata("differentInvokeSignature.kt") public void testDifferentInvokeSignature() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java index 090c39ee28224..6eeac2497dcca 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java @@ -1715,6 +1715,12 @@ public void testCheckStaticObjectClassIsPresent() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticObjectClassIsPresent.kt"); } + @Test + @TestMetadata("defaultAfterCapturing.kt") + public void testDefaultAfterCapturing() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt"); + } + @Test @TestMetadata("defaultCallInDefaultLambda.kt") public void testDefaultCallInDefaultLambda() throws Exception { @@ -1829,6 +1835,12 @@ public void testReceiverClashInClass2() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt"); } + @Test + @TestMetadata("reordering.kt") + public void testReordering() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt"); + } + @Test @TestMetadata("simple.kt") public void testSimple() throws Exception { @@ -1946,6 +1958,12 @@ public void testConstuctorReference() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt"); } + @Test + @TestMetadata("defaultAfterBoundReference.kt") + public void testDefaultAfterBoundReference() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt"); + } + @Test @TestMetadata("differentInvokeSignature.kt") public void testDifferentInvokeSignature() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxInlineCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxInlineCodegenTestGenerated.java index d8df686e8dc7a..23e4b50b8e2d7 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxInlineCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxInlineCodegenTestGenerated.java @@ -1727,6 +1727,12 @@ public void testCheckStaticObjectClassIsPresent() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticObjectClassIsPresent.kt"); } + @Test + @TestMetadata("defaultAfterCapturing.kt") + public void testDefaultAfterCapturing() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt"); + } + @Test @TestMetadata("defaultCallInDefaultLambda.kt") public void testDefaultCallInDefaultLambda() throws Exception { @@ -1841,6 +1847,12 @@ public void testReceiverClashInClass2() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt"); } + @Test + @TestMetadata("reordering.kt") + public void testReordering() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt"); + } + @Test @TestMetadata("simple.kt") public void testSimple() throws Exception { @@ -1958,6 +1970,12 @@ public void testConstuctorReference() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt"); } + @Test + @TestMetadata("defaultAfterBoundReference.kt") + public void testDefaultAfterBoundReference() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt"); + } + @Test @TestMetadata("differentInvokeSignature.kt") public void testDifferentInvokeSignature() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrCompileKotlinAgainstInlineKotlinTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrCompileKotlinAgainstInlineKotlinTestGenerated.java index 66412389a2338..8533e4bb2e58a 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrCompileKotlinAgainstInlineKotlinTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrCompileKotlinAgainstInlineKotlinTestGenerated.java @@ -1727,6 +1727,12 @@ public void testCheckStaticObjectClassIsPresent() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticObjectClassIsPresent.kt"); } + @Test + @TestMetadata("defaultAfterCapturing.kt") + public void testDefaultAfterCapturing() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt"); + } + @Test @TestMetadata("defaultCallInDefaultLambda.kt") public void testDefaultCallInDefaultLambda() throws Exception { @@ -1841,6 +1847,12 @@ public void testReceiverClashInClass2() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt"); } + @Test + @TestMetadata("reordering.kt") + public void testReordering() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt"); + } + @Test @TestMetadata("simple.kt") public void testSimple() throws Exception { @@ -1958,6 +1970,12 @@ public void testConstuctorReference() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt"); } + @Test + @TestMetadata("defaultAfterBoundReference.kt") + public void testDefaultAfterBoundReference() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt"); + } + @Test @TestMetadata("differentInvokeSignature.kt") public void testDifferentInvokeSignature() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmIrAgainstOldBoxInlineTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmIrAgainstOldBoxInlineTestGenerated.java index ea633d7aa002f..7963640c282a5 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmIrAgainstOldBoxInlineTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmIrAgainstOldBoxInlineTestGenerated.java @@ -1727,6 +1727,12 @@ public void testCheckStaticObjectClassIsPresent() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticObjectClassIsPresent.kt"); } + @Test + @TestMetadata("defaultAfterCapturing.kt") + public void testDefaultAfterCapturing() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt"); + } + @Test @TestMetadata("defaultCallInDefaultLambda.kt") public void testDefaultCallInDefaultLambda() throws Exception { @@ -1841,6 +1847,12 @@ public void testReceiverClashInClass2() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt"); } + @Test + @TestMetadata("reordering.kt") + public void testReordering() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt"); + } + @Test @TestMetadata("simple.kt") public void testSimple() throws Exception { @@ -1958,6 +1970,12 @@ public void testConstuctorReference() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt"); } + @Test + @TestMetadata("defaultAfterBoundReference.kt") + public void testDefaultAfterBoundReference() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt"); + } + @Test @TestMetadata("differentInvokeSignature.kt") public void testDifferentInvokeSignature() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmOldAgainstIrBoxInlineTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmOldAgainstIrBoxInlineTestGenerated.java index 44426ab754dc5..940b906cfa560 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmOldAgainstIrBoxInlineTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/JvmOldAgainstIrBoxInlineTestGenerated.java @@ -1715,6 +1715,12 @@ public void testCheckStaticObjectClassIsPresent() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticObjectClassIsPresent.kt"); } + @Test + @TestMetadata("defaultAfterCapturing.kt") + public void testDefaultAfterCapturing() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt"); + } + @Test @TestMetadata("defaultCallInDefaultLambda.kt") public void testDefaultCallInDefaultLambda() throws Exception { @@ -1829,6 +1835,12 @@ public void testReceiverClashInClass2() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt"); } + @Test + @TestMetadata("reordering.kt") + public void testReordering() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt"); + } + @Test @TestMetadata("simple.kt") public void testSimple() throws Exception { @@ -1946,6 +1958,12 @@ public void testConstuctorReference() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt"); } + @Test + @TestMetadata("defaultAfterBoundReference.kt") + public void testDefaultAfterBoundReference() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt"); + } + @Test @TestMetadata("differentInvokeSignature.kt") public void testDifferentInvokeSignature() throws Exception { diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenInlineES6TestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenInlineES6TestGenerated.java index f385caa8d13af..a817865b0e09b 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenInlineES6TestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenInlineES6TestGenerated.java @@ -1366,6 +1366,11 @@ public void testCheckStaticObjectClassIsPresent() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticObjectClassIsPresent.kt"); } + @TestMetadata("defaultAfterCapturing.kt") + public void testDefaultAfterCapturing() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt"); + } + @TestMetadata("defaultCallInDefaultLambda.kt") public void testDefaultCallInDefaultLambda() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultCallInDefaultLambda.kt"); @@ -1451,6 +1456,11 @@ public void testReceiverClashInClass2() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt"); } + @TestMetadata("reordering.kt") + public void testReordering() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt"); + } + @TestMetadata("simple.kt") public void testSimple() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simple.kt"); @@ -1553,6 +1563,11 @@ public void testConstuctorReference() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt"); } + @TestMetadata("defaultAfterBoundReference.kt") + public void testDefaultAfterBoundReference() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt"); + } + @TestMetadata("differentInvokeSignature.kt") public void testDifferentInvokeSignature() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/differentInvokeSignature.kt"); diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/semantics/IrJsCodegenInlineTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/semantics/IrJsCodegenInlineTestGenerated.java index 7a5c55e3a7897..8d94beee95c2c 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/semantics/IrJsCodegenInlineTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/semantics/IrJsCodegenInlineTestGenerated.java @@ -1366,6 +1366,11 @@ public void testCheckStaticObjectClassIsPresent() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticObjectClassIsPresent.kt"); } + @TestMetadata("defaultAfterCapturing.kt") + public void testDefaultAfterCapturing() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt"); + } + @TestMetadata("defaultCallInDefaultLambda.kt") public void testDefaultCallInDefaultLambda() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultCallInDefaultLambda.kt"); @@ -1451,6 +1456,11 @@ public void testReceiverClashInClass2() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt"); } + @TestMetadata("reordering.kt") + public void testReordering() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt"); + } + @TestMetadata("simple.kt") public void testSimple() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simple.kt"); @@ -1553,6 +1563,11 @@ public void testConstuctorReference() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt"); } + @TestMetadata("defaultAfterBoundReference.kt") + public void testDefaultAfterBoundReference() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt"); + } + @TestMetadata("differentInvokeSignature.kt") public void testDifferentInvokeSignature() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/differentInvokeSignature.kt"); diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/semantics/JsCodegenInlineTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/semantics/JsCodegenInlineTestGenerated.java index a3db700f568fe..5a386b60000f6 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/semantics/JsCodegenInlineTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/semantics/JsCodegenInlineTestGenerated.java @@ -1366,6 +1366,11 @@ public void testCheckStaticObjectClassIsPresent() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/checkStaticObjectClassIsPresent.kt"); } + @TestMetadata("defaultAfterCapturing.kt") + public void testDefaultAfterCapturing() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultAfterCapturing.kt"); + } + @TestMetadata("defaultCallInDefaultLambda.kt") public void testDefaultCallInDefaultLambda() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/defaultCallInDefaultLambda.kt"); @@ -1451,6 +1456,11 @@ public void testReceiverClashInClass2() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/receiverClashInClass2.kt"); } + @TestMetadata("reordering.kt") + public void testReordering() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/reordering.kt"); + } + @TestMetadata("simple.kt") public void testSimple() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/simple.kt"); @@ -1553,6 +1563,11 @@ public void testConstuctorReference() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/constuctorReference.kt"); } + @TestMetadata("defaultAfterBoundReference.kt") + public void testDefaultAfterBoundReference() throws Exception { + runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/defaultAfterBoundReference.kt"); + } + @TestMetadata("differentInvokeSignature.kt") public void testDifferentInvokeSignature() throws Exception { runTest("compiler/testData/codegen/boxInline/defaultValues/lambdaInlining/callableReferences/differentInvokeSignature.kt");