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
This commit is contained in:
Alexander Udalov
2021-01-07 19:31:59 +01:00
parent 3e59adc7f3
commit 5480faf5c5
36 changed files with 824 additions and 0 deletions
@@ -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 {
@@ -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 {
@@ -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");
+30
View File
@@ -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()
}
@@ -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()
}
+38
View File
@@ -0,0 +1,38 @@
// IGNORE_BACKEND: JVM
// WITH_RUNTIME
// WITH_COROUTINES
import helpers.EmptyContinuation
import kotlin.coroutines.*
var result = ""
lateinit var c: Continuation<Unit>
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<Unit> ->
c = cont
}
}
inline fun foo(crossinline coroutine: suspend () -> Unit): suspend () -> Unit {
return {
coroutine.invoke()
result += "K"
}
}
@@ -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
}
+25
View File
@@ -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"
}
+11
View File
@@ -0,0 +1,11 @@
interface SomeInterface<T>
object Container {
private inline fun <reified T> someMethod() = object : SomeInterface<T> { }
class SomeClass : SomeInterface<SomeClass> by someMethod()
}
fun box(): String {
Container.SomeClass()
return "OK"
}
@@ -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 <reified T : Any> 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
}
@@ -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 <T> 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
}
@@ -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 <T> 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"
}
@@ -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
}
@@ -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
+25
View File
@@ -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
+23
View File
@@ -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
@@ -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 {
@@ -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 {
@@ -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 {
@@ -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 {
@@ -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");
@@ -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");
@@ -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");
@@ -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 {
@@ -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 {
@@ -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");
@@ -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");
@@ -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");
@@ -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");
@@ -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");
@@ -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");
@@ -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");
@@ -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");
@@ -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");
@@ -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");
@@ -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");