From 5480faf5c59376f0637b6ecca5bdcb3510c7e15e Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Thu, 7 Jan 2021 19:31:59 +0100 Subject: [PATCH] Add tests for issues fixed in JVM IR and other obsolete issues #KT-6007 #KT-16445 #KT-17753 #KT-22488 #KT-23881 #KT-24135 #KT-26360 #KT-27427 #KT-27449 #KT-27830 #KT-28042 #KT-29595 #KT-30708 #KT-32793 --- .../FirBlackBoxCodegenTestGenerated.java | 36 ++++++++++++++ .../codegen/FirBytecodeTextTestGenerated.java | 6 +++ ...FirBlackBoxInlineCodegenTestGenerated.java | 20 ++++++++ .../testData/codegen/box/closures/kt23881.kt | 30 ++++++++++++ .../controlFlow/doWhileWithInline.kt | 23 +++++++++ .../codegen/box/coroutines/kt24135.kt | 38 +++++++++++++++ .../localFunctions/named/defaultArgument.kt | 27 +++++++++++ .../codegen/box/inlineClasses/kt32793.kt | 25 ++++++++++ .../testData/codegen/box/reified/kt16445.kt | 11 +++++ .../boxInline/anonymousObject/kt29595.kt | 38 +++++++++++++++ .../boxInline/anonymousObject/kt6007.kt | 27 +++++++++++ .../callableReference/bound/lambdaOnLhs.kt | 31 ++++++++++++ .../boxInline/suspend/stateMachine/kt30708.kt | 47 +++++++++++++++++++ .../noNullCheckAfterCast.kt | 34 ++++++++++++++ .../debug/stepping/constantConditions.kt | 25 ++++++++++ .../debug/stepping/multilineExpression.kt | 23 +++++++++ .../codegen/BlackBoxCodegenTestGenerated.java | 36 ++++++++++++++ .../codegen/BytecodeTextTestGenerated.java | 6 +++ .../IrBlackBoxCodegenTestGenerated.java | 36 ++++++++++++++ .../codegen/IrBytecodeTextTestGenerated.java | 6 +++ .../BlackBoxInlineCodegenTestGenerated.java | 20 ++++++++ ...otlinAgainstInlineKotlinTestGenerated.java | 20 ++++++++ .../LightAnalysisModeTestGenerated.java | 30 ++++++++++++ .../IrSteppingTestGenerated.java | 12 +++++ .../SteppingTestGenerated.java | 12 +++++ .../IrBlackBoxInlineCodegenTestGenerated.java | 20 ++++++++ ...otlinAgainstInlineKotlinTestGenerated.java | 20 ++++++++ ...JvmIrAgainstOldBoxInlineTestGenerated.java | 20 ++++++++ ...JvmOldAgainstIrBoxInlineTestGenerated.java | 20 ++++++++ .../IrJsCodegenBoxES6TestGenerated.java | 25 ++++++++++ .../IrJsCodegenInlineES6TestGenerated.java | 15 ++++++ .../IrJsCodegenBoxTestGenerated.java | 25 ++++++++++ .../IrJsCodegenInlineTestGenerated.java | 15 ++++++ .../semantics/JsCodegenBoxTestGenerated.java | 25 ++++++++++ .../JsCodegenInlineTestGenerated.java | 15 ++++++ .../IrCodegenBoxWasmTestGenerated.java | 5 ++ 36 files changed, 824 insertions(+) create mode 100644 compiler/testData/codegen/box/closures/kt23881.kt create mode 100644 compiler/testData/codegen/box/coroutines/controlFlow/doWhileWithInline.kt create mode 100644 compiler/testData/codegen/box/coroutines/kt24135.kt create mode 100644 compiler/testData/codegen/box/coroutines/localFunctions/named/defaultArgument.kt create mode 100644 compiler/testData/codegen/box/inlineClasses/kt32793.kt create mode 100644 compiler/testData/codegen/box/reified/kt16445.kt create mode 100644 compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt create mode 100644 compiler/testData/codegen/boxInline/anonymousObject/kt6007.kt create mode 100644 compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt create mode 100644 compiler/testData/codegen/boxInline/suspend/stateMachine/kt30708.kt create mode 100644 compiler/testData/codegen/bytecodeText/nullCheckOptimization/noNullCheckAfterCast.kt create mode 100644 compiler/testData/debug/stepping/constantConditions.kt create mode 100644 compiler/testData/debug/stepping/multilineExpression.kt diff --git a/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxCodegenTestGenerated.java b/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxCodegenTestGenerated.java index cdaa879604d..9900466ceb6 100644 --- a/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxCodegenTestGenerated.java +++ b/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBlackBoxCodegenTestGenerated.java @@ -5124,6 +5124,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT runTest("compiler/testData/codegen/box/closures/kt2151.kt"); } + @Test + @TestMetadata("kt23881.kt") + public void testKt23881() throws Exception { + runTest("compiler/testData/codegen/box/closures/kt23881.kt"); + } + @Test @TestMetadata("kt3152.kt") public void testKt3152() throws Exception { @@ -7818,6 +7824,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT runTest("compiler/testData/codegen/box/coroutines/kt21605.kt"); } + @Test + @TestMetadata("kt24135.kt") + public void testKt24135() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/kt24135.kt"); + } + @Test @TestMetadata("kt25912.kt") public void testKt25912() throws Exception { @@ -8257,6 +8269,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT runTest("compiler/testData/codegen/box/coroutines/controlFlow/doWhileStatement.kt"); } + @Test + @TestMetadata("doWhileWithInline.kt") + public void testDoWhileWithInline() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/controlFlow/doWhileWithInline.kt"); + } + @Test @TestMetadata("doubleBreak.kt") public void testDoubleBreak() throws Exception { @@ -9740,6 +9758,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/capturedVariables.kt"); } + @Test + @TestMetadata("defaultArgument.kt") + public void testDefaultArgument() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/defaultArgument.kt"); + } + @Test @TestMetadata("extension.kt") public void testExtension() throws Exception { @@ -16236,6 +16260,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT runTest("compiler/testData/codegen/box/inlineClasses/kt28920_javaPrimitiveType.kt"); } + @Test + @TestMetadata("kt32793.kt") + public void testKt32793() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt32793.kt"); + } + @Test @TestMetadata("kt33119.kt") public void testKt33119() throws Exception { @@ -34280,6 +34310,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT runTest("compiler/testData/codegen/box/reified/javaClass.kt"); } + @Test + @TestMetadata("kt16445.kt") + public void testKt16445() throws Exception { + runTest("compiler/testData/codegen/box/reified/kt16445.kt"); + } + @Test @TestMetadata("nestedReified.kt") public void testNestedReified() throws Exception { diff --git a/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBytecodeTextTestGenerated.java b/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBytecodeTextTestGenerated.java index e5c06c9afb4..f029abdafe6 100644 --- a/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBytecodeTextTestGenerated.java +++ b/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirBytecodeTextTestGenerated.java @@ -4538,6 +4538,12 @@ public class FirBytecodeTextTestGenerated extends AbstractFirBytecodeTextTest { runTest("compiler/testData/codegen/bytecodeText/nullCheckOptimization/multipleExclExcl_1_4.kt"); } + @Test + @TestMetadata("noNullCheckAfterCast.kt") + public void testNoNullCheckAfterCast() throws Exception { + runTest("compiler/testData/codegen/bytecodeText/nullCheckOptimization/noNullCheckAfterCast.kt"); + } + @Test @TestMetadata("notNullAsNotNullable.kt") public void testNotNullAsNotNullable() throws Exception { diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/codegen/ir/FirBlackBoxInlineCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/codegen/ir/FirBlackBoxInlineCodegenTestGenerated.java index 25ca6b9f83f..c6ff391f81c 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/codegen/ir/FirBlackBoxInlineCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/codegen/ir/FirBlackBoxInlineCodegenTestGenerated.java @@ -242,6 +242,11 @@ public class FirBlackBoxInlineCodegenTestGenerated extends AbstractFirBlackBoxIn runTest("compiler/testData/codegen/boxInline/anonymousObject/kt19723.kt"); } + @TestMetadata("kt29595.kt") + public void testKt29595() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt"); + } + @TestMetadata("kt34656.kt") public void testKt34656() throws Exception { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt34656.kt"); @@ -262,6 +267,11 @@ public class FirBlackBoxInlineCodegenTestGenerated extends AbstractFirBlackBoxIn runTest("compiler/testData/codegen/boxInline/anonymousObject/kt42815_delegated.kt"); } + @TestMetadata("kt6007.kt") + public void testKt6007() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6007.kt"); + } + @TestMetadata("kt6552.kt") public void testKt6552() throws Exception { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6552.kt"); @@ -992,6 +1002,11 @@ public class FirBlackBoxInlineCodegenTestGenerated extends AbstractFirBlackBoxIn runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt"); } + @TestMetadata("lambdaOnLhs.kt") + public void testLambdaOnLhs() throws Exception { + runTest("compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt"); + } + @TestMetadata("map.kt") public void testMap() throws Exception { runTest("compiler/testData/codegen/boxInline/callableReference/bound/map.kt"); @@ -4452,6 +4467,11 @@ public class FirBlackBoxInlineCodegenTestGenerated extends AbstractFirBlackBoxIn runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/insideObject.kt"); } + @TestMetadata("kt30708.kt") + public void testKt30708() throws Exception { + runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/kt30708.kt"); + } + @TestMetadata("lambdaTransformation.kt") public void testLambdaTransformation() throws Exception { runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/lambdaTransformation.kt"); diff --git a/compiler/testData/codegen/box/closures/kt23881.kt b/compiler/testData/codegen/box/closures/kt23881.kt new file mode 100644 index 00000000000..6619132ebac --- /dev/null +++ b/compiler/testData/codegen/box/closures/kt23881.kt @@ -0,0 +1,30 @@ +// TARGET_BACKEND: JVM +// IGNORE_BACKEND: JVM +// WITH_RUNTIME + +class ShouldBeCaptured +class ShouldNOTBeCaptured + +class ClassWithCallback { + var someCallback: (() -> Unit)? = null + + fun checkFields(): String { + for (field in someCallback!!.javaClass.declaredFields) { + val value = field.get(someCallback!!) + if (value is ShouldNOTBeCaptured) throw AssertionError("Leaked value") + } + return "OK" + } +} + +fun box(): String { + val toCapture = ShouldBeCaptured() + val notToCapture = ShouldNOTBeCaptured() + + val classWithCallback = ClassWithCallback() + classWithCallback.apply { + someCallback = { toCapture } + notToCapture + } + return classWithCallback.checkFields() +} diff --git a/compiler/testData/codegen/box/coroutines/controlFlow/doWhileWithInline.kt b/compiler/testData/codegen/box/coroutines/controlFlow/doWhileWithInline.kt new file mode 100644 index 00000000000..48939642d0c --- /dev/null +++ b/compiler/testData/codegen/box/coroutines/controlFlow/doWhileWithInline.kt @@ -0,0 +1,23 @@ +// IGNORE_BACKEND: JVM +// WITH_RUNTIME +// WITH_COROUTINES +// KT-27830 + +import helpers.EmptyContinuation +import kotlin.coroutines.* + +fun box(): String { + var result = "Fail" + suspend { + do { + go { + result = "OK" + } + } while (false) + }.startCoroutine(EmptyContinuation) + return result +} + +suspend inline fun go(block: suspend () -> Unit) { + block() +} diff --git a/compiler/testData/codegen/box/coroutines/kt24135.kt b/compiler/testData/codegen/box/coroutines/kt24135.kt new file mode 100644 index 00000000000..64e035eaece --- /dev/null +++ b/compiler/testData/codegen/box/coroutines/kt24135.kt @@ -0,0 +1,38 @@ +// IGNORE_BACKEND: JVM +// WITH_RUNTIME +// WITH_COROUTINES + +import helpers.EmptyContinuation +import kotlin.coroutines.* + +var result = "" +lateinit var c: Continuation + +fun builder(block: suspend () -> Unit) { + block.startCoroutine(EmptyContinuation()) +} + +fun box(): String { + val flow = foo { + bar() + result += "O" + } + builder { + flow() + } + c.resume(Unit) + return result +} + +suspend fun bar() { + return suspendCoroutine { cont: Continuation -> + c = cont + } +} + +inline fun foo(crossinline coroutine: suspend () -> Unit): suspend () -> Unit { + return { + coroutine.invoke() + result += "K" + } +} diff --git a/compiler/testData/codegen/box/coroutines/localFunctions/named/defaultArgument.kt b/compiler/testData/codegen/box/coroutines/localFunctions/named/defaultArgument.kt new file mode 100644 index 00000000000..5bde6ddf260 --- /dev/null +++ b/compiler/testData/codegen/box/coroutines/localFunctions/named/defaultArgument.kt @@ -0,0 +1,27 @@ +// IGNORE_BACKEND: JVM +// WITH_RUNTIME +// WITH_COROUTINES +// KT-27449 + +import helpers.EmptyContinuation +import kotlin.coroutines.* + +var result = "Fail" + +suspend fun doAction() { + suspend fun run( + a: String, + f: suspend (String) -> Unit = { input -> result = input } + ) { + f(a) + } + + run("OK") +} + +fun box(): String { + suspend { + doAction() + }.startCoroutine(EmptyContinuation) + return result +} diff --git a/compiler/testData/codegen/box/inlineClasses/kt32793.kt b/compiler/testData/codegen/box/inlineClasses/kt32793.kt new file mode 100644 index 00000000000..2779f23d83c --- /dev/null +++ b/compiler/testData/codegen/box/inlineClasses/kt32793.kt @@ -0,0 +1,25 @@ +// DONT_TARGET_EXACT_BACKEND: WASM +// WASM_MUTE_REASON: CALLABLE_REFERENCES_FAIL +// WITH_RUNTIME +// WITH_COROUTINES +// IGNORE_BACKEND: JVM + +import kotlin.coroutines.startCoroutine +import helpers.EmptyContinuation + +suspend fun test() { + suspend fun process(myValue: UInt) { + if (myValue != 42u) throw AssertionError(myValue) + } + val value: UInt = 42u + process(value) +} + +fun builder(block: suspend () -> Unit) { + block.startCoroutine(EmptyContinuation) +} + +fun box(): String { + builder { test() } + return "OK" +} diff --git a/compiler/testData/codegen/box/reified/kt16445.kt b/compiler/testData/codegen/box/reified/kt16445.kt new file mode 100644 index 00000000000..1c4245916ab --- /dev/null +++ b/compiler/testData/codegen/box/reified/kt16445.kt @@ -0,0 +1,11 @@ +interface SomeInterface + +object Container { + private inline fun someMethod() = object : SomeInterface { } + class SomeClass : SomeInterface by someMethod() +} + +fun box(): String { + Container.SomeClass() + return "OK" +} diff --git a/compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt b/compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt new file mode 100644 index 00000000000..f9139f084ce --- /dev/null +++ b/compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt @@ -0,0 +1,38 @@ +// TARGET_BACKEND: JVM +// NO_CHECK_LAMBDA_INLINING +// WITH_RUNTIME +// IGNORE_BACKEND: JVM +// IGNORE_BACKEND_MULTI_MODULE: JVM, JVM_MULTI_MODULE_OLD_AGAINST_IR +// FILE: 1.kt + +package test + +inline fun foo(crossinline function: () -> T) { + T::class.java.name + + object { + fun bar() { + function() + } + + init { + bar() + } + } +} + +// FILE: 2.kt + +import test.* + +fun box(): String { + var result = "Fail" + foo { + object { + init { + result = "OK" + } + } + } + return result +} diff --git a/compiler/testData/codegen/boxInline/anonymousObject/kt6007.kt b/compiler/testData/codegen/boxInline/anonymousObject/kt6007.kt new file mode 100644 index 00000000000..e944f22b853 --- /dev/null +++ b/compiler/testData/codegen/boxInline/anonymousObject/kt6007.kt @@ -0,0 +1,27 @@ +// NO_CHECK_LAMBDA_INLINING +// IGNORE_BACKEND: JVM +// IGNORE_BACKEND_MULTI_MODULE: JVM, JVM_MULTI_MODULE_OLD_AGAINST_IR +// FILE: 1.kt + +package test + +open class A + +inline fun call(lambda: () -> T): T { + return lambda() +} + +// FILE: 2.kt + +import test.* + +fun box(): String { + val x = "OK" + val result = call { + object : A() { + val p = x + } + } + + return result.p +} diff --git a/compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt b/compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt new file mode 100644 index 00000000000..fa911721e27 --- /dev/null +++ b/compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt @@ -0,0 +1,31 @@ +// NO_CHECK_LAMBDA_INLINING +// IGNORE_BACKEND: JVM +// IGNORE_BACKEND_MULTI_MODULE: JVM, JVM_MULTI_MODULE_OLD_AGAINST_IR +// KT-28042 +// FILE: 1.kt + +package test + +fun supplier(f: () -> T) = f + +inline fun consumer1(c: (Unit) -> Unit) = c(Unit) + +// FILE: 2.kt + +import test.* + +class A { + fun f() { + consumer1 { + supplier { + consumer1(consumer2()) + }::apply + } + } + fun consumer2(): (Unit) -> Unit = {} +} + +fun box(): String { + A().f() + return "OK" +} diff --git a/compiler/testData/codegen/boxInline/suspend/stateMachine/kt30708.kt b/compiler/testData/codegen/boxInline/suspend/stateMachine/kt30708.kt new file mode 100644 index 00000000000..3c0881a6169 --- /dev/null +++ b/compiler/testData/codegen/boxInline/suspend/stateMachine/kt30708.kt @@ -0,0 +1,47 @@ +// WITH_RUNTIME +// WITH_COROUTINES +// CHECK_STATE_MACHINE +// FILE: inline.kt + +import helpers.* + +interface SuspendRunnable { + suspend fun run(): String +} + +inline fun inlineMe(crossinline c1: suspend (String) -> String) = + object : SuspendRunnable { + override suspend fun run(): String { + return c1( + return try { "OK" } catch (e: Exception) { e.message!! } + ) + } + } + + +inline fun inlineMe2(crossinline c2: suspend (String) -> String) = + inlineMe(c2) + +// FILE: box.kt + +import helpers.* +import kotlin.coroutines.* + +fun builder(c: suspend () -> Unit) { + c.startCoroutine(CheckStateMachineContinuation) +} + +fun box(): String { + val r = inlineMe2 { + StateMachineChecker.suspendHere() + it + } + + var res = "FAIL" + + builder { + res = r.run() + } + StateMachineChecker.check(numberOfSuspensions = 0) + return res +} diff --git a/compiler/testData/codegen/bytecodeText/nullCheckOptimization/noNullCheckAfterCast.kt b/compiler/testData/codegen/bytecodeText/nullCheckOptimization/noNullCheckAfterCast.kt new file mode 100644 index 00000000000..1213e12832d --- /dev/null +++ b/compiler/testData/codegen/bytecodeText/nullCheckOptimization/noNullCheckAfterCast.kt @@ -0,0 +1,34 @@ +// KT-27427 + +interface A { + fun foo() +} + +class B : A { + override fun foo() { + } +} + +fun test1() { + val b = B() + (b as A).foo() +} + +fun test2() { + val b = getB() + (b as A).foo() +} + +fun test3() { + val b = getB() + b.foo() +} + +fun getB(): B = B() + +// JVM_TEMPLATES +// 1 IFNONNULL + +// There should be no null checks in the bytecode. +// JVM_IR_TEMPLATES +// 0 IFNONNULL diff --git a/compiler/testData/debug/stepping/constantConditions.kt b/compiler/testData/debug/stepping/constantConditions.kt new file mode 100644 index 00000000000..9c54cf805ed --- /dev/null +++ b/compiler/testData/debug/stepping/constantConditions.kt @@ -0,0 +1,25 @@ +// FILE: test.kt +// KT-22488 + +fun box() { + test() +} + +fun test(): Long { + if (1 == 1 && + 2 == 2) { + return 0 + } + + return 1 +} + +// LINENUMBERS +// test.kt:5 box +// LINENUMBERS JVM_IR +// test.kt:9 test +// LINENUMBERS +// test.kt:10 test +// test.kt:11 test +// test.kt:5 box +// test.kt:6 box diff --git a/compiler/testData/debug/stepping/multilineExpression.kt b/compiler/testData/debug/stepping/multilineExpression.kt new file mode 100644 index 00000000000..704ee35d132 --- /dev/null +++ b/compiler/testData/debug/stepping/multilineExpression.kt @@ -0,0 +1,23 @@ +// FILE: test.kt +// KT-17753 + +fun box() { + test(true, true, true) +} + +fun test(a: Boolean, b: Boolean, c: Boolean): Boolean { + return a + && b + && c +} + +// LINENUMBERS +// test.kt:5 box +// LINENUMBERS JVM_IR +// test.kt:9 test +// test.kt:10 test +// LINENUMBERS +// test.kt:11 test +// test.kt:9 test +// test.kt:5 box +// test.kt:6 box diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java index 739134dac50..f92f42b0b28 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java @@ -5124,6 +5124,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/closures/kt2151.kt"); } + @Test + @TestMetadata("kt23881.kt") + public void testKt23881() throws Exception { + runTest("compiler/testData/codegen/box/closures/kt23881.kt"); + } + @Test @TestMetadata("kt3152.kt") public void testKt3152() throws Exception { @@ -7818,6 +7824,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/coroutines/kt21605.kt"); } + @Test + @TestMetadata("kt24135.kt") + public void testKt24135() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/kt24135.kt"); + } + @Test @TestMetadata("kt25912.kt") public void testKt25912() throws Exception { @@ -8257,6 +8269,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/coroutines/controlFlow/doWhileStatement.kt"); } + @Test + @TestMetadata("doWhileWithInline.kt") + public void testDoWhileWithInline() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/controlFlow/doWhileWithInline.kt"); + } + @Test @TestMetadata("doubleBreak.kt") public void testDoubleBreak() throws Exception { @@ -9740,6 +9758,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/capturedVariables.kt"); } + @Test + @TestMetadata("defaultArgument.kt") + public void testDefaultArgument() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/defaultArgument.kt"); + } + @Test @TestMetadata("extension.kt") public void testExtension() throws Exception { @@ -16236,6 +16260,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/inlineClasses/kt28920_javaPrimitiveType.kt"); } + @Test + @TestMetadata("kt32793.kt") + public void testKt32793() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt32793.kt"); + } + @Test @TestMetadata("kt33119.kt") public void testKt33119() throws Exception { @@ -34480,6 +34510,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/reified/javaClass.kt"); } + @Test + @TestMetadata("kt16445.kt") + public void testKt16445() throws Exception { + runTest("compiler/testData/codegen/box/reified/kt16445.kt"); + } + @Test @TestMetadata("nestedReified.kt") public void testNestedReified() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BytecodeTextTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BytecodeTextTestGenerated.java index d980d6eec80..90f6d5a14bc 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BytecodeTextTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BytecodeTextTestGenerated.java @@ -4406,6 +4406,12 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest { runTest("compiler/testData/codegen/bytecodeText/nullCheckOptimization/multipleExclExcl_1_4.kt"); } + @Test + @TestMetadata("noNullCheckAfterCast.kt") + public void testNoNullCheckAfterCast() throws Exception { + runTest("compiler/testData/codegen/bytecodeText/nullCheckOptimization/noNullCheckAfterCast.kt"); + } + @Test @TestMetadata("notNullAsNotNullable.kt") public void testNotNullAsNotNullable() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java index 306d9937b3d..43eaf5be18f 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java @@ -5124,6 +5124,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/closures/kt2151.kt"); } + @Test + @TestMetadata("kt23881.kt") + public void testKt23881() throws Exception { + runTest("compiler/testData/codegen/box/closures/kt23881.kt"); + } + @Test @TestMetadata("kt3152.kt") public void testKt3152() throws Exception { @@ -7818,6 +7824,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/kt21605.kt"); } + @Test + @TestMetadata("kt24135.kt") + public void testKt24135() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/kt24135.kt"); + } + @Test @TestMetadata("kt25912.kt") public void testKt25912() throws Exception { @@ -8257,6 +8269,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/controlFlow/doWhileStatement.kt"); } + @Test + @TestMetadata("doWhileWithInline.kt") + public void testDoWhileWithInline() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/controlFlow/doWhileWithInline.kt"); + } + @Test @TestMetadata("doubleBreak.kt") public void testDoubleBreak() throws Exception { @@ -9740,6 +9758,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/capturedVariables.kt"); } + @Test + @TestMetadata("defaultArgument.kt") + public void testDefaultArgument() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/defaultArgument.kt"); + } + @Test @TestMetadata("extension.kt") public void testExtension() throws Exception { @@ -16236,6 +16260,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/inlineClasses/kt28920_javaPrimitiveType.kt"); } + @Test + @TestMetadata("kt32793.kt") + public void testKt32793() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt32793.kt"); + } + @Test @TestMetadata("kt33119.kt") public void testKt33119() throws Exception { @@ -34280,6 +34310,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/reified/javaClass.kt"); } + @Test + @TestMetadata("kt16445.kt") + public void testKt16445() throws Exception { + runTest("compiler/testData/codegen/box/reified/kt16445.kt"); + } + @Test @TestMetadata("nestedReified.kt") public void testNestedReified() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBytecodeTextTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBytecodeTextTestGenerated.java index 1ff1b1efe20..f02ea32de78 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBytecodeTextTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBytecodeTextTestGenerated.java @@ -4538,6 +4538,12 @@ public class IrBytecodeTextTestGenerated extends AbstractIrBytecodeTextTest { runTest("compiler/testData/codegen/bytecodeText/nullCheckOptimization/multipleExclExcl_1_4.kt"); } + @Test + @TestMetadata("noNullCheckAfterCast.kt") + public void testNoNullCheckAfterCast() throws Exception { + runTest("compiler/testData/codegen/bytecodeText/nullCheckOptimization/noNullCheckAfterCast.kt"); + } + @Test @TestMetadata("notNullAsNotNullable.kt") public void testNotNullAsNotNullable() throws Exception { diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/BlackBoxInlineCodegenTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/BlackBoxInlineCodegenTestGenerated.java index e0538e0f37e..aed950f648c 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/BlackBoxInlineCodegenTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/BlackBoxInlineCodegenTestGenerated.java @@ -242,6 +242,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo runTest("compiler/testData/codegen/boxInline/anonymousObject/kt19723.kt"); } + @TestMetadata("kt29595.kt") + public void testKt29595() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt"); + } + @TestMetadata("kt34656.kt") public void testKt34656() throws Exception { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt34656.kt"); @@ -262,6 +267,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo runTest("compiler/testData/codegen/boxInline/anonymousObject/kt42815_delegated.kt"); } + @TestMetadata("kt6007.kt") + public void testKt6007() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6007.kt"); + } + @TestMetadata("kt6552.kt") public void testKt6552() throws Exception { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6552.kt"); @@ -992,6 +1002,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt"); } + @TestMetadata("lambdaOnLhs.kt") + public void testLambdaOnLhs() throws Exception { + runTest("compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt"); + } + @TestMetadata("map.kt") public void testMap() throws Exception { runTest("compiler/testData/codegen/boxInline/callableReference/bound/map.kt"); @@ -4452,6 +4467,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/insideObject.kt"); } + @TestMetadata("kt30708.kt") + public void testKt30708() throws Exception { + runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/kt30708.kt"); + } + @TestMetadata("lambdaTransformation.kt") public void testLambdaTransformation() throws Exception { runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/lambdaTransformation.kt"); diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java index d6cd24012ad..31a0f820c06 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/CompileKotlinAgainstInlineKotlinTestGenerated.java @@ -242,6 +242,11 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi runTest("compiler/testData/codegen/boxInline/anonymousObject/kt19723.kt"); } + @TestMetadata("kt29595.kt") + public void testKt29595() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt"); + } + @TestMetadata("kt34656.kt") public void testKt34656() throws Exception { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt34656.kt"); @@ -262,6 +267,11 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi runTest("compiler/testData/codegen/boxInline/anonymousObject/kt42815_delegated.kt"); } + @TestMetadata("kt6007.kt") + public void testKt6007() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6007.kt"); + } + @TestMetadata("kt6552.kt") public void testKt6552() throws Exception { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6552.kt"); @@ -992,6 +1002,11 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt"); } + @TestMetadata("lambdaOnLhs.kt") + public void testLambdaOnLhs() throws Exception { + runTest("compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt"); + } + @TestMetadata("map.kt") public void testMap() throws Exception { runTest("compiler/testData/codegen/boxInline/callableReference/bound/map.kt"); @@ -4452,6 +4467,11 @@ public class CompileKotlinAgainstInlineKotlinTestGenerated extends AbstractCompi runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/insideObject.kt"); } + @TestMetadata("kt30708.kt") + public void testKt30708() throws Exception { + runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/kt30708.kt"); + } + @TestMetadata("lambdaTransformation.kt") public void testLambdaTransformation() throws Exception { runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/lambdaTransformation.kt"); diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java index 355433bff8c..c32a754882c 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java @@ -4357,6 +4357,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) public static class Closures extends AbstractLightAnalysisModeTest { + @TestMetadata("kt23881.kt") + public void ignoreKt23881() throws Exception { + runTest("compiler/testData/codegen/box/closures/kt23881.kt"); + } + private void runTest(String testDataFilePath) throws Exception { KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath); } @@ -6540,6 +6545,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) public static class Coroutines extends AbstractLightAnalysisModeTest { + @TestMetadata("kt24135.kt") + public void ignoreKt24135() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/kt24135.kt"); + } + private void runTest(String testDataFilePath) throws Exception { KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath); } @@ -7165,6 +7175,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) public static class ControlFlow extends AbstractLightAnalysisModeTest { + @TestMetadata("doWhileWithInline.kt") + public void ignoreDoWhileWithInline() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/controlFlow/doWhileWithInline.kt"); + } + private void runTest(String testDataFilePath) throws Exception { KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath); } @@ -8490,6 +8505,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) public static class Named extends AbstractLightAnalysisModeTest { + @TestMetadata("defaultArgument.kt") + public void ignoreDefaultArgument() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/defaultArgument.kt"); + } + private void runTest(String testDataFilePath) throws Exception { KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath); } @@ -13637,6 +13657,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes runTest("compiler/testData/codegen/box/inlineClasses/inlineClassWithCustomEquals.kt"); } + @TestMetadata("kt32793.kt") + public void ignoreKt32793() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt32793.kt"); + } + @TestMetadata("simpleSecondaryConstructor.kt") public void ignoreSimpleSecondaryConstructor() throws Exception { runTest("compiler/testData/codegen/box/inlineClasses/simpleSecondaryConstructor.kt"); @@ -28131,6 +28156,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes runTest("compiler/testData/codegen/box/reified/javaClass.kt"); } + @TestMetadata("kt16445.kt") + public void testKt16445() throws Exception { + runTest("compiler/testData/codegen/box/reified/kt16445.kt"); + } + @TestMetadata("nestedReified.kt") public void testNestedReified() throws Exception { runTest("compiler/testData/codegen/box/reified/nestedReified.kt"); diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/debugInformation/IrSteppingTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/debugInformation/IrSteppingTestGenerated.java index 3f4c484da59..653fd46620b 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/debugInformation/IrSteppingTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/debugInformation/IrSteppingTestGenerated.java @@ -98,6 +98,12 @@ public class IrSteppingTestGenerated extends AbstractIrSteppingTest { runTest("compiler/testData/debug/stepping/conjunction.kt"); } + @Test + @TestMetadata("constantConditions.kt") + public void testConstantConditions() throws Exception { + runTest("compiler/testData/debug/stepping/constantConditions.kt"); + } + @Test @TestMetadata("constructorCall.kt") public void testConstructorCall() throws Exception { @@ -272,6 +278,12 @@ public class IrSteppingTestGenerated extends AbstractIrSteppingTest { runTest("compiler/testData/debug/stepping/localFunctionWIthOnelineExpressionBody.kt"); } + @Test + @TestMetadata("multilineExpression.kt") + public void testMultilineExpression() throws Exception { + runTest("compiler/testData/debug/stepping/multilineExpression.kt"); + } + @Test @TestMetadata("multilineFunctionCall.kt") public void testMultilineFunctionCall() throws Exception { diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/debugInformation/SteppingTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/debugInformation/SteppingTestGenerated.java index eacf41515d0..b2ccbb9fb7e 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/debugInformation/SteppingTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/debugInformation/SteppingTestGenerated.java @@ -98,6 +98,12 @@ public class SteppingTestGenerated extends AbstractSteppingTest { runTest("compiler/testData/debug/stepping/conjunction.kt"); } + @Test + @TestMetadata("constantConditions.kt") + public void testConstantConditions() throws Exception { + runTest("compiler/testData/debug/stepping/constantConditions.kt"); + } + @Test @TestMetadata("constructorCall.kt") public void testConstructorCall() throws Exception { @@ -272,6 +278,12 @@ public class SteppingTestGenerated extends AbstractSteppingTest { runTest("compiler/testData/debug/stepping/localFunctionWIthOnelineExpressionBody.kt"); } + @Test + @TestMetadata("multilineExpression.kt") + public void testMultilineExpression() throws Exception { + runTest("compiler/testData/debug/stepping/multilineExpression.kt"); + } + @Test @TestMetadata("multilineFunctionCall.kt") public void testMultilineFunctionCall() throws Exception { diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/ir/IrBlackBoxInlineCodegenTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/ir/IrBlackBoxInlineCodegenTestGenerated.java index 122840b7164..431effe77dd 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/ir/IrBlackBoxInlineCodegenTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/ir/IrBlackBoxInlineCodegenTestGenerated.java @@ -242,6 +242,11 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli runTest("compiler/testData/codegen/boxInline/anonymousObject/kt19723.kt"); } + @TestMetadata("kt29595.kt") + public void testKt29595() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt"); + } + @TestMetadata("kt34656.kt") public void testKt34656() throws Exception { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt34656.kt"); @@ -262,6 +267,11 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli runTest("compiler/testData/codegen/boxInline/anonymousObject/kt42815_delegated.kt"); } + @TestMetadata("kt6007.kt") + public void testKt6007() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6007.kt"); + } + @TestMetadata("kt6552.kt") public void testKt6552() throws Exception { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6552.kt"); @@ -992,6 +1002,11 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt"); } + @TestMetadata("lambdaOnLhs.kt") + public void testLambdaOnLhs() throws Exception { + runTest("compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt"); + } + @TestMetadata("map.kt") public void testMap() throws Exception { runTest("compiler/testData/codegen/boxInline/callableReference/bound/map.kt"); @@ -4452,6 +4467,11 @@ public class IrBlackBoxInlineCodegenTestGenerated extends AbstractIrBlackBoxInli runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/insideObject.kt"); } + @TestMetadata("kt30708.kt") + public void testKt30708() throws Exception { + runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/kt30708.kt"); + } + @TestMetadata("lambdaTransformation.kt") public void testLambdaTransformation() throws Exception { runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/lambdaTransformation.kt"); diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/ir/IrCompileKotlinAgainstInlineKotlinTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/ir/IrCompileKotlinAgainstInlineKotlinTestGenerated.java index d65f800fc3c..139b9134649 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/ir/IrCompileKotlinAgainstInlineKotlinTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/ir/IrCompileKotlinAgainstInlineKotlinTestGenerated.java @@ -242,6 +242,11 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC runTest("compiler/testData/codegen/boxInline/anonymousObject/kt19723.kt"); } + @TestMetadata("kt29595.kt") + public void testKt29595() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt"); + } + @TestMetadata("kt34656.kt") public void testKt34656() throws Exception { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt34656.kt"); @@ -262,6 +267,11 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC runTest("compiler/testData/codegen/boxInline/anonymousObject/kt42815_delegated.kt"); } + @TestMetadata("kt6007.kt") + public void testKt6007() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6007.kt"); + } + @TestMetadata("kt6552.kt") public void testKt6552() throws Exception { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6552.kt"); @@ -992,6 +1002,11 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt"); } + @TestMetadata("lambdaOnLhs.kt") + public void testLambdaOnLhs() throws Exception { + runTest("compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt"); + } + @TestMetadata("map.kt") public void testMap() throws Exception { runTest("compiler/testData/codegen/boxInline/callableReference/bound/map.kt"); @@ -4452,6 +4467,11 @@ public class IrCompileKotlinAgainstInlineKotlinTestGenerated extends AbstractIrC runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/insideObject.kt"); } + @TestMetadata("kt30708.kt") + public void testKt30708() throws Exception { + runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/kt30708.kt"); + } + @TestMetadata("lambdaTransformation.kt") public void testLambdaTransformation() throws Exception { runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/lambdaTransformation.kt"); diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/ir/JvmIrAgainstOldBoxInlineTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/ir/JvmIrAgainstOldBoxInlineTestGenerated.java index 05cc786a511..88cdfa57675 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/ir/JvmIrAgainstOldBoxInlineTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/ir/JvmIrAgainstOldBoxInlineTestGenerated.java @@ -242,6 +242,11 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO runTest("compiler/testData/codegen/boxInline/anonymousObject/kt19723.kt"); } + @TestMetadata("kt29595.kt") + public void testKt29595() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt"); + } + @TestMetadata("kt34656.kt") public void testKt34656() throws Exception { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt34656.kt"); @@ -262,6 +267,11 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO runTest("compiler/testData/codegen/boxInline/anonymousObject/kt42815_delegated.kt"); } + @TestMetadata("kt6007.kt") + public void testKt6007() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6007.kt"); + } + @TestMetadata("kt6552.kt") public void testKt6552() throws Exception { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6552.kt"); @@ -992,6 +1002,11 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt"); } + @TestMetadata("lambdaOnLhs.kt") + public void testLambdaOnLhs() throws Exception { + runTest("compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt"); + } + @TestMetadata("map.kt") public void testMap() throws Exception { runTest("compiler/testData/codegen/boxInline/callableReference/bound/map.kt"); @@ -4452,6 +4467,11 @@ public class JvmIrAgainstOldBoxInlineTestGenerated extends AbstractJvmIrAgainstO runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/insideObject.kt"); } + @TestMetadata("kt30708.kt") + public void testKt30708() throws Exception { + runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/kt30708.kt"); + } + @TestMetadata("lambdaTransformation.kt") public void testLambdaTransformation() throws Exception { runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/lambdaTransformation.kt"); diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/ir/JvmOldAgainstIrBoxInlineTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/ir/JvmOldAgainstIrBoxInlineTestGenerated.java index 60080a06436..ea64d503989 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/ir/JvmOldAgainstIrBoxInlineTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/ir/JvmOldAgainstIrBoxInlineTestGenerated.java @@ -242,6 +242,11 @@ public class JvmOldAgainstIrBoxInlineTestGenerated extends AbstractJvmOldAgainst runTest("compiler/testData/codegen/boxInline/anonymousObject/kt19723.kt"); } + @TestMetadata("kt29595.kt") + public void testKt29595() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt29595.kt"); + } + @TestMetadata("kt34656.kt") public void testKt34656() throws Exception { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt34656.kt"); @@ -262,6 +267,11 @@ public class JvmOldAgainstIrBoxInlineTestGenerated extends AbstractJvmOldAgainst runTest("compiler/testData/codegen/boxInline/anonymousObject/kt42815_delegated.kt"); } + @TestMetadata("kt6007.kt") + public void testKt6007() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6007.kt"); + } + @TestMetadata("kt6552.kt") public void testKt6552() throws Exception { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6552.kt"); @@ -992,6 +1002,11 @@ public class JvmOldAgainstIrBoxInlineTestGenerated extends AbstractJvmOldAgainst runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt"); } + @TestMetadata("lambdaOnLhs.kt") + public void testLambdaOnLhs() throws Exception { + runTest("compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt"); + } + @TestMetadata("map.kt") public void testMap() throws Exception { runTest("compiler/testData/codegen/boxInline/callableReference/bound/map.kt"); @@ -4452,6 +4467,11 @@ public class JvmOldAgainstIrBoxInlineTestGenerated extends AbstractJvmOldAgainst runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/insideObject.kt"); } + @TestMetadata("kt30708.kt") + public void testKt30708() throws Exception { + runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/kt30708.kt"); + } + @TestMetadata("lambdaTransformation.kt") public void testLambdaTransformation() throws Exception { runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/lambdaTransformation.kt"); diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java index 872d90e230b..7c0c1f99fc4 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java @@ -5623,6 +5623,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes runTest("compiler/testData/codegen/box/coroutines/kt21605.kt"); } + @TestMetadata("kt24135.kt") + public void testKt24135() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/kt24135.kt"); + } + @TestMetadata("kt25912.kt") public void testKt25912() throws Exception { runTest("compiler/testData/codegen/box/coroutines/kt25912.kt"); @@ -5973,6 +5978,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes runTest("compiler/testData/codegen/box/coroutines/controlFlow/doWhileStatement.kt"); } + @TestMetadata("doWhileWithInline.kt") + public void testDoWhileWithInline() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/controlFlow/doWhileWithInline.kt"); + } + @TestMetadata("doubleBreak.kt") public void testDoubleBreak() throws Exception { runTest("compiler/testData/codegen/box/coroutines/controlFlow/doubleBreak.kt"); @@ -7198,6 +7208,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/capturedVariables.kt"); } + @TestMetadata("defaultArgument.kt") + public void testDefaultArgument() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/defaultArgument.kt"); + } + @TestMetadata("extension.kt") public void testExtension() throws Exception { runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/extension.kt"); @@ -12155,6 +12170,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes runTest("compiler/testData/codegen/box/inlineClasses/kt28585.kt"); } + @TestMetadata("kt32793.kt") + public void testKt32793() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt32793.kt"); + } + @TestMetadata("kt33119.kt") public void testKt33119() throws Exception { runTest("compiler/testData/codegen/box/inlineClasses/kt33119.kt"); @@ -24402,6 +24422,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes runTest("compiler/testData/codegen/box/reified/instanceof.kt"); } + @TestMetadata("kt16445.kt") + public void testKt16445() throws Exception { + runTest("compiler/testData/codegen/box/reified/kt16445.kt"); + } + @TestMetadata("newArrayInt.kt") public void testNewArrayInt() throws Exception { runTest("compiler/testData/codegen/box/reified/newArrayInt.kt"); 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 63c56be9b9d..902eb405405 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 @@ -242,6 +242,11 @@ public class IrJsCodegenInlineES6TestGenerated extends AbstractIrJsCodegenInline runTest("compiler/testData/codegen/boxInline/anonymousObject/kt42815_delegated.kt"); } + @TestMetadata("kt6007.kt") + public void testKt6007() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6007.kt"); + } + @TestMetadata("kt6552.kt") public void testKt6552() throws Exception { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6552.kt"); @@ -847,6 +852,11 @@ public class IrJsCodegenInlineES6TestGenerated extends AbstractIrJsCodegenInline runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt"); } + @TestMetadata("lambdaOnLhs.kt") + public void testLambdaOnLhs() throws Exception { + runTest("compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt"); + } + @TestMetadata("map.kt") public void testMap() throws Exception { runTest("compiler/testData/codegen/boxInline/callableReference/bound/map.kt"); @@ -3992,6 +4002,11 @@ public class IrJsCodegenInlineES6TestGenerated extends AbstractIrJsCodegenInline runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/insideObject.kt"); } + @TestMetadata("kt30708.kt") + public void testKt30708() throws Exception { + runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/kt30708.kt"); + } + @TestMetadata("lambdaTransformation.kt") public void testLambdaTransformation() throws Exception { runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/lambdaTransformation.kt"); diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/semantics/IrJsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/semantics/IrJsCodegenBoxTestGenerated.java index b85b2a4d70f..f509a97dae0 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/semantics/IrJsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/semantics/IrJsCodegenBoxTestGenerated.java @@ -5623,6 +5623,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/coroutines/kt21605.kt"); } + @TestMetadata("kt24135.kt") + public void testKt24135() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/kt24135.kt"); + } + @TestMetadata("kt25912.kt") public void testKt25912() throws Exception { runTest("compiler/testData/codegen/box/coroutines/kt25912.kt"); @@ -5973,6 +5978,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/coroutines/controlFlow/doWhileStatement.kt"); } + @TestMetadata("doWhileWithInline.kt") + public void testDoWhileWithInline() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/controlFlow/doWhileWithInline.kt"); + } + @TestMetadata("doubleBreak.kt") public void testDoubleBreak() throws Exception { runTest("compiler/testData/codegen/box/coroutines/controlFlow/doubleBreak.kt"); @@ -7198,6 +7208,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/capturedVariables.kt"); } + @TestMetadata("defaultArgument.kt") + public void testDefaultArgument() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/defaultArgument.kt"); + } + @TestMetadata("extension.kt") public void testExtension() throws Exception { runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/extension.kt"); @@ -12155,6 +12170,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/kt28585.kt"); } + @TestMetadata("kt32793.kt") + public void testKt32793() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt32793.kt"); + } + @TestMetadata("kt33119.kt") public void testKt33119() throws Exception { runTest("compiler/testData/codegen/box/inlineClasses/kt33119.kt"); @@ -24402,6 +24422,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/reified/instanceof.kt"); } + @TestMetadata("kt16445.kt") + public void testKt16445() throws Exception { + runTest("compiler/testData/codegen/box/reified/kt16445.kt"); + } + @TestMetadata("newArrayInt.kt") public void testNewArrayInt() throws Exception { runTest("compiler/testData/codegen/box/reified/newArrayInt.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 0890c06420f..f5935646cd0 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 @@ -242,6 +242,11 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes runTest("compiler/testData/codegen/boxInline/anonymousObject/kt42815_delegated.kt"); } + @TestMetadata("kt6007.kt") + public void testKt6007() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6007.kt"); + } + @TestMetadata("kt6552.kt") public void testKt6552() throws Exception { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6552.kt"); @@ -847,6 +852,11 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt"); } + @TestMetadata("lambdaOnLhs.kt") + public void testLambdaOnLhs() throws Exception { + runTest("compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt"); + } + @TestMetadata("map.kt") public void testMap() throws Exception { runTest("compiler/testData/codegen/boxInline/callableReference/bound/map.kt"); @@ -3992,6 +4002,11 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/insideObject.kt"); } + @TestMetadata("kt30708.kt") + public void testKt30708() throws Exception { + runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/kt30708.kt"); + } + @TestMetadata("lambdaTransformation.kt") public void testLambdaTransformation() throws Exception { runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/lambdaTransformation.kt"); diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java index 58a5b2bc99d..f70210960ab 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java @@ -5623,6 +5623,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTest("compiler/testData/codegen/box/coroutines/kt21605.kt"); } + @TestMetadata("kt24135.kt") + public void testKt24135() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/kt24135.kt"); + } + @TestMetadata("kt25912.kt") public void testKt25912() throws Exception { runTest("compiler/testData/codegen/box/coroutines/kt25912.kt"); @@ -5973,6 +5978,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTest("compiler/testData/codegen/box/coroutines/controlFlow/doWhileStatement.kt"); } + @TestMetadata("doWhileWithInline.kt") + public void testDoWhileWithInline() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/controlFlow/doWhileWithInline.kt"); + } + @TestMetadata("doubleBreak.kt") public void testDoubleBreak() throws Exception { runTest("compiler/testData/codegen/box/coroutines/controlFlow/doubleBreak.kt"); @@ -7198,6 +7208,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/capturedVariables.kt"); } + @TestMetadata("defaultArgument.kt") + public void testDefaultArgument() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/defaultArgument.kt"); + } + @TestMetadata("extension.kt") public void testExtension() throws Exception { runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/extension.kt"); @@ -12220,6 +12235,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTest("compiler/testData/codegen/box/inlineClasses/kt28585.kt"); } + @TestMetadata("kt32793.kt") + public void testKt32793() throws Exception { + runTest("compiler/testData/codegen/box/inlineClasses/kt32793.kt"); + } + @TestMetadata("kt33119.kt") public void testKt33119() throws Exception { runTest("compiler/testData/codegen/box/inlineClasses/kt33119.kt"); @@ -24367,6 +24387,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTest("compiler/testData/codegen/box/reified/instanceof.kt"); } + @TestMetadata("kt16445.kt") + public void testKt16445() throws Exception { + runTest("compiler/testData/codegen/box/reified/kt16445.kt"); + } + @TestMetadata("newArrayInt.kt") public void testNewArrayInt() throws Exception { runTest("compiler/testData/codegen/box/reified/newArrayInt.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 bcc0eb78cff..6f46048e3fa 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 @@ -242,6 +242,11 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt42815_delegated.kt"); } + @TestMetadata("kt6007.kt") + public void testKt6007() throws Exception { + runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6007.kt"); + } + @TestMetadata("kt6552.kt") public void testKt6552() throws Exception { runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6552.kt"); @@ -847,6 +852,11 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest { runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt"); } + @TestMetadata("lambdaOnLhs.kt") + public void testLambdaOnLhs() throws Exception { + runTest("compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt"); + } + @TestMetadata("map.kt") public void testMap() throws Exception { runTest("compiler/testData/codegen/boxInline/callableReference/bound/map.kt"); @@ -3992,6 +4002,11 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest { runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/insideObject.kt"); } + @TestMetadata("kt30708.kt") + public void testKt30708() throws Exception { + runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/kt30708.kt"); + } + @TestMetadata("lambdaTransformation.kt") public void testLambdaTransformation() throws Exception { runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/lambdaTransformation.kt"); diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java index 5de254d934a..86b2fff7795 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java @@ -12961,6 +12961,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest runTest("compiler/testData/codegen/box/reified/instanceof.kt"); } + @TestMetadata("kt16445.kt") + public void testKt16445() throws Exception { + runTest("compiler/testData/codegen/box/reified/kt16445.kt"); + } + @TestMetadata("newArrayInt.kt") public void testNewArrayInt() throws Exception { runTest("compiler/testData/codegen/box/reified/newArrayInt.kt");