Add tests for obsolete issues

(Test for KT-37331 is added to multiplatform/defaultArguments/suspend.kt.)

 #KT-30080
 #KT-33641
 #KT-36237
 #KT-36952
 #KT-37331
 #KT-38920
 #KT-39256
 #KT-42415
 #KT-44636
 #KT-45704
 #KT-47084
 #KT-47894
This commit is contained in:
Alexander Udalov
2022-03-02 00:34:21 +01:00
parent f0290d8c98
commit 328853dffe
20 changed files with 662 additions and 2 deletions
@@ -3602,6 +3602,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/callableReference/bound/kt15446.kt");
}
@Test
@TestMetadata("kt44636_localExtension.kt")
public void testKt44636_localExtension() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/kt44636_localExtension.kt");
}
@Test
@TestMetadata("localUnitFunction.kt")
public void testLocalUnitFunction() throws Exception {
@@ -6181,6 +6187,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/closures/kt47840.kt");
}
@Test
@TestMetadata("kt47894_inlineFunWithObjectWithNothing.kt")
public void testKt47894_inlineFunWithObjectWithNothing() throws Exception {
runTest("compiler/testData/codegen/box/closures/kt47894_inlineFunWithObjectWithNothing.kt");
}
@Test
@TestMetadata("kt5589.kt")
public void testKt5589() throws Exception {
@@ -8916,6 +8928,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt17384.kt");
}
@Test
@TestMetadata("kt45704_elvisInInlineFun.kt")
public void testKt45704_elvisInInlineFun() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt45704_elvisInInlineFun.kt");
}
@Test
@TestMetadata("kt9022And.kt")
public void testKt9022And() throws Exception {
@@ -11115,6 +11133,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/infixRecursiveCall.kt");
}
@Test
@TestMetadata("kt38920_localTailrec.kt")
public void testKt38920_localTailrec() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/kt38920_localTailrec.kt");
}
@Test
@TestMetadata("realIteratorFoldl.kt")
public void testRealIteratorFoldl() throws Exception {
@@ -13428,6 +13452,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/dataClasses/toString/mixedParams.kt");
}
@Test
@TestMetadata("primitiveArrays.kt")
public void testPrimitiveArrays() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/toString/primitiveArrays.kt");
}
@Test
@TestMetadata("unitComponent.kt")
public void testUnitComponent() throws Exception {
@@ -15191,6 +15221,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/insideElvis.kt");
}
@Test
@TestMetadata("kt47084_lambdaInDefaultArgument.kt")
public void testKt47084_lambdaInDefaultArgument() throws Exception {
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/kt47084_lambdaInDefaultArgument.kt");
}
@Test
@TestMetadata("labeledThisReferences.kt")
public void testLabeledThisReferences() throws Exception {
@@ -33149,6 +33185,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/primitiveTypes/kt3613.kt");
}
@Test
@TestMetadata("kt36952_identityEqualsWithBooleanInLocalFunction.kt")
public void testKt36952_identityEqualsWithBooleanInLocalFunction() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt36952_identityEqualsWithBooleanInLocalFunction.kt");
}
@Test
@TestMetadata("kt37505.kt")
public void testKt37505() throws Exception {
@@ -33173,6 +33215,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/primitiveTypes/kt4210.kt");
}
@Test
@TestMetadata("kt42415_javaClassOfLongLiteral.kt")
public void testKt42415_javaClassOfLongLiteral() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt42415_javaClassOfLongLiteral.kt");
}
@Test
@TestMetadata("kt4251.kt")
public void testKt4251() throws Exception {
@@ -43789,6 +43837,18 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/reified/kt16445.kt");
}
@Test
@TestMetadata("kt36237.kt")
public void testKt36237() throws Exception {
runTest("compiler/testData/codegen/box/reified/kt36237.kt");
}
@Test
@TestMetadata("kt39256_privateInlineWithAnonymousObject.kt")
public void testKt39256_privateInlineWithAnonymousObject() throws Exception {
runTest("compiler/testData/codegen/box/reified/kt39256_privateInlineWithAnonymousObject.kt");
}
@Test
@TestMetadata("nestedReified.kt")
public void testNestedReified() throws Exception {
@@ -48688,6 +48748,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_string.kt");
}
@Test
@TestMetadata("kt33641_inlineClass.kt")
public void testKt33641_inlineClass() throws Exception {
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt33641_inlineClass.kt");
}
@Test
@TestMetadata("rangeCheckOnSubjectVariable.kt")
public void testRangeCheckOnSubjectVariable() throws Exception {
@@ -0,0 +1,9 @@
// IGNORE_BACKEND: JVM
inline fun g(h: () -> String): String = h()
fun box(): String {
val result = "OK"
fun Any.f(): String = result
return g("Fail"::f)
}
@@ -0,0 +1,23 @@
interface Kla6 {
fun fu32()
}
class Kla7 {
inline fun fu33(crossinline f: (Int) -> Any) =
object : Kla6 {
override fun fu32() {
f(1)
}
var ttmh: Int = throw RuntimeException()
}.fu32()
inline fun fu34(crossinline f: (Int) -> Any) =
fu33 { f(1) }
}
fun box(): String = try {
Kla7().fu34 {}
"Fail"
} catch (e: RuntimeException) {
"OK"
}
@@ -0,0 +1,17 @@
inline fun inlineCall(block: (CharSequence, CharSequence) -> Unit) {
for (i in 0..0) {
val s = "K".takeIf { true }
block(
"O",
s ?: continue
)
}
}
fun box(): String {
inlineCall { a, b ->
return a.toString() + b
}
return "Fail"
}
@@ -0,0 +1,30 @@
// IGNORE_BACKEND: JVM
// WITH_STDLIB
// WITH_COROUTINES
// DONT_RUN_GENERATED_CODE: JS
import helpers.*
import kotlin.coroutines.*
var iterations = 0
fun builder(c: suspend () -> Unit) {
c.startCoroutine(EmptyContinuation)
}
fun box(): String {
var result = ""
tailrec suspend fun theLoop(value: Int, string: String) {
if (value == 2) return
result += string
if (++iterations > 2) error("Fail: too many iterations")
theLoop(value + 1, "b")
}
builder {
theLoop(0, "a")
}
return if (result == "ab") "OK" else "Fail $result"
}
@@ -0,0 +1,29 @@
// IGNORE_BACKEND: JVM, JS, JS_IR
// KT-30080
data class A(
val z: BooleanArray,
var c: CharArray,
val b: ByteArray,
val s: ShortArray,
val i: IntArray,
val f: FloatArray,
val j: LongArray,
val d: DoubleArray,
)
fun box(): String {
val a = A(
booleanArrayOf(true),
charArrayOf('a'),
byteArrayOf(1),
shortArrayOf(2),
intArrayOf(3),
floatArrayOf(4f),
longArrayOf(5),
doubleArrayOf(6.0),
)
return if (a.toString() == "A(z=[true], c=[a], b=[1], s=[2], i=[3], f=[4.0], j=[5], d=[6.0])")
"OK"
else "Fail: $a"
}
@@ -0,0 +1,9 @@
fun f(block: () -> Unit): String {
block()
return "OK"
}
tailrec fun foo(a: String = run { f {} }): String =
if (a.length == 0) foo() else a
fun box(): String = foo()
@@ -20,7 +20,8 @@ actual interface I {
}
class II : I {
override suspend fun f(p: Int): String = "OK"
override suspend fun f(p: Int): String =
if (p == 1) "OK" else "Fail: $p"
}
fun builder(c: suspend () -> Unit) {
@@ -33,4 +34,4 @@ fun box(): String {
res = II().f()
}
return res
}
}
@@ -0,0 +1,6 @@
// IGNORE_BACKEND: WASM
fun box(): String {
fun a(a: Any) = a === 1.1 is Double
return if (a(true)) "OK" else "Fail"
}
@@ -0,0 +1,7 @@
// TARGET_BACKEND: JVM
// WITH_STDLIB
fun box(): String {
val a = 1.javaClass
return if (a == 2L.javaClass) "Fail" else "OK"
}
+10
View File
@@ -0,0 +1,10 @@
inline fun <reified P> cast(value: Any): P =
cast0<Int, P>(value)
inline fun <reified P, reified Z> cast0(
value: Any,
func: (Any) -> Z = { it as Z }
): Z = func(value)
fun box(): String =
cast<String>("OK")
@@ -0,0 +1,13 @@
interface I
class C<T>
private inline fun <reified T> C<T>.f() = object : I {
val unused = T::class
}
fun box(): String {
val t1 = C<String>().f()
val t2 = C<String>().f()
arrayOf(t1, t2)
return "OK"
}
@@ -0,0 +1,23 @@
// WITH_STDLIB
fun box(): String {
val x = Result.success(42)
var y = 0
when (x) {
Result.success(42) -> {
y++
}
else -> {
y -= 10
}
}
when (val z = Result.success(42)) {
Result.success(42) -> {
y++
}
else -> {
y -= 100
}
}
return if (y == 2) "OK" else "Fail $y"
}
@@ -3506,6 +3506,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/callableReference/bound/kt15446.kt");
}
@Test
@TestMetadata("kt44636_localExtension.kt")
public void testKt44636_localExtension() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/kt44636_localExtension.kt");
}
@Test
@TestMetadata("localUnitFunction.kt")
public void testLocalUnitFunction() throws Exception {
@@ -6061,6 +6067,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/closures/kt47840.kt");
}
@Test
@TestMetadata("kt47894_inlineFunWithObjectWithNothing.kt")
public void testKt47894_inlineFunWithObjectWithNothing() throws Exception {
runTest("compiler/testData/codegen/box/closures/kt47894_inlineFunWithObjectWithNothing.kt");
}
@Test
@TestMetadata("kt5589.kt")
public void testKt5589() throws Exception {
@@ -8790,6 +8802,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt17384.kt");
}
@Test
@TestMetadata("kt45704_elvisInInlineFun.kt")
public void testKt45704_elvisInInlineFun() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt45704_elvisInInlineFun.kt");
}
@Test
@TestMetadata("kt9022And.kt")
public void testKt9022And() throws Exception {
@@ -10989,6 +11007,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/infixRecursiveCall.kt");
}
@Test
@TestMetadata("kt38920_localTailrec.kt")
public void testKt38920_localTailrec() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/kt38920_localTailrec.kt");
}
@Test
@TestMetadata("realIteratorFoldl.kt")
public void testRealIteratorFoldl() throws Exception {
@@ -13302,6 +13326,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/dataClasses/toString/mixedParams.kt");
}
@Test
@TestMetadata("primitiveArrays.kt")
public void testPrimitiveArrays() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/toString/primitiveArrays.kt");
}
@Test
@TestMetadata("unitComponent.kt")
public void testUnitComponent() throws Exception {
@@ -15065,6 +15095,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/insideElvis.kt");
}
@Test
@TestMetadata("kt47084_lambdaInDefaultArgument.kt")
public void testKt47084_lambdaInDefaultArgument() throws Exception {
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/kt47084_lambdaInDefaultArgument.kt");
}
@Test
@TestMetadata("labeledThisReferences.kt")
public void testLabeledThisReferences() throws Exception {
@@ -32693,6 +32729,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/primitiveTypes/kt3613.kt");
}
@Test
@TestMetadata("kt36952_identityEqualsWithBooleanInLocalFunction.kt")
public void testKt36952_identityEqualsWithBooleanInLocalFunction() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt36952_identityEqualsWithBooleanInLocalFunction.kt");
}
@Test
@TestMetadata("kt37505.kt")
public void testKt37505() throws Exception {
@@ -32717,6 +32759,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/primitiveTypes/kt4210.kt");
}
@Test
@TestMetadata("kt42415_javaClassOfLongLiteral.kt")
public void testKt42415_javaClassOfLongLiteral() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt42415_javaClassOfLongLiteral.kt");
}
@Test
@TestMetadata("kt4251.kt")
public void testKt4251() throws Exception {
@@ -43297,6 +43345,18 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/reified/kt16445.kt");
}
@Test
@TestMetadata("kt36237.kt")
public void testKt36237() throws Exception {
runTest("compiler/testData/codegen/box/reified/kt36237.kt");
}
@Test
@TestMetadata("kt39256_privateInlineWithAnonymousObject.kt")
public void testKt39256_privateInlineWithAnonymousObject() throws Exception {
runTest("compiler/testData/codegen/box/reified/kt39256_privateInlineWithAnonymousObject.kt");
}
@Test
@TestMetadata("nestedReified.kt")
public void testNestedReified() throws Exception {
@@ -48136,6 +48196,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_string.kt");
}
@Test
@TestMetadata("kt33641_inlineClass.kt")
public void testKt33641_inlineClass() throws Exception {
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt33641_inlineClass.kt");
}
@Test
@TestMetadata("rangeCheckOnSubjectVariable.kt")
public void testRangeCheckOnSubjectVariable() throws Exception {
@@ -3602,6 +3602,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/callableReference/bound/kt15446.kt");
}
@Test
@TestMetadata("kt44636_localExtension.kt")
public void testKt44636_localExtension() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/kt44636_localExtension.kt");
}
@Test
@TestMetadata("localUnitFunction.kt")
public void testLocalUnitFunction() throws Exception {
@@ -6181,6 +6187,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/closures/kt47840.kt");
}
@Test
@TestMetadata("kt47894_inlineFunWithObjectWithNothing.kt")
public void testKt47894_inlineFunWithObjectWithNothing() throws Exception {
runTest("compiler/testData/codegen/box/closures/kt47894_inlineFunWithObjectWithNothing.kt");
}
@Test
@TestMetadata("kt5589.kt")
public void testKt5589() throws Exception {
@@ -8916,6 +8928,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt17384.kt");
}
@Test
@TestMetadata("kt45704_elvisInInlineFun.kt")
public void testKt45704_elvisInInlineFun() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt45704_elvisInInlineFun.kt");
}
@Test
@TestMetadata("kt9022And.kt")
public void testKt9022And() throws Exception {
@@ -11115,6 +11133,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/infixRecursiveCall.kt");
}
@Test
@TestMetadata("kt38920_localTailrec.kt")
public void testKt38920_localTailrec() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/kt38920_localTailrec.kt");
}
@Test
@TestMetadata("realIteratorFoldl.kt")
public void testRealIteratorFoldl() throws Exception {
@@ -13428,6 +13452,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/dataClasses/toString/mixedParams.kt");
}
@Test
@TestMetadata("primitiveArrays.kt")
public void testPrimitiveArrays() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/toString/primitiveArrays.kt");
}
@Test
@TestMetadata("unitComponent.kt")
public void testUnitComponent() throws Exception {
@@ -15191,6 +15221,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/insideElvis.kt");
}
@Test
@TestMetadata("kt47084_lambdaInDefaultArgument.kt")
public void testKt47084_lambdaInDefaultArgument() throws Exception {
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/kt47084_lambdaInDefaultArgument.kt");
}
@Test
@TestMetadata("labeledThisReferences.kt")
public void testLabeledThisReferences() throws Exception {
@@ -33149,6 +33185,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/primitiveTypes/kt3613.kt");
}
@Test
@TestMetadata("kt36952_identityEqualsWithBooleanInLocalFunction.kt")
public void testKt36952_identityEqualsWithBooleanInLocalFunction() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt36952_identityEqualsWithBooleanInLocalFunction.kt");
}
@Test
@TestMetadata("kt37505.kt")
public void testKt37505() throws Exception {
@@ -33173,6 +33215,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/primitiveTypes/kt4210.kt");
}
@Test
@TestMetadata("kt42415_javaClassOfLongLiteral.kt")
public void testKt42415_javaClassOfLongLiteral() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt42415_javaClassOfLongLiteral.kt");
}
@Test
@TestMetadata("kt4251.kt")
public void testKt4251() throws Exception {
@@ -43789,6 +43837,18 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/reified/kt16445.kt");
}
@Test
@TestMetadata("kt36237.kt")
public void testKt36237() throws Exception {
runTest("compiler/testData/codegen/box/reified/kt36237.kt");
}
@Test
@TestMetadata("kt39256_privateInlineWithAnonymousObject.kt")
public void testKt39256_privateInlineWithAnonymousObject() throws Exception {
runTest("compiler/testData/codegen/box/reified/kt39256_privateInlineWithAnonymousObject.kt");
}
@Test
@TestMetadata("nestedReified.kt")
public void testNestedReified() throws Exception {
@@ -48688,6 +48748,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_string.kt");
}
@Test
@TestMetadata("kt33641_inlineClass.kt")
public void testKt33641_inlineClass() throws Exception {
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt33641_inlineClass.kt");
}
@Test
@TestMetadata("rangeCheckOnSubjectVariable.kt")
public void testRangeCheckOnSubjectVariable() throws Exception {
@@ -2963,6 +2963,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class Bound extends AbstractLightAnalysisModeTest {
@TestMetadata("kt44636_localExtension.kt")
public void ignoreKt44636_localExtension() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/kt44636_localExtension.kt");
}
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
@@ -5284,6 +5289,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/closures/kt47840.kt");
}
@TestMetadata("kt47894_inlineFunWithObjectWithNothing.kt")
public void testKt47894_inlineFunWithObjectWithNothing() throws Exception {
runTest("compiler/testData/codegen/box/closures/kt47894_inlineFunWithObjectWithNothing.kt");
}
@TestMetadata("kt5589.kt")
public void testKt5589() throws Exception {
runTest("compiler/testData/codegen/box/closures/kt5589.kt");
@@ -6800,6 +6810,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt17384.kt");
}
@TestMetadata("kt45704_elvisInInlineFun.kt")
public void testKt45704_elvisInInlineFun() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt45704_elvisInInlineFun.kt");
}
@TestMetadata("kt9022And.kt")
public void testKt9022And() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt9022And.kt");
@@ -8702,6 +8717,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class Tailrec extends AbstractLightAnalysisModeTest {
@TestMetadata("kt38920_localTailrec.kt")
public void ignoreKt38920_localTailrec() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/kt38920_localTailrec.kt");
}
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
@@ -10760,6 +10780,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class ToString extends AbstractLightAnalysisModeTest {
@TestMetadata("primitiveArrays.kt")
public void ignorePrimitiveArrays() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/toString/primitiveArrays.kt");
}
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
@@ -12380,6 +12405,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/insideElvis.kt");
}
@TestMetadata("kt47084_lambdaInDefaultArgument.kt")
public void testKt47084_lambdaInDefaultArgument() throws Exception {
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/kt47084_lambdaInDefaultArgument.kt");
}
@TestMetadata("labeledThisReferences.kt")
public void testLabeledThisReferences() throws Exception {
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/labeledThisReferences.kt");
@@ -27868,6 +27898,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/primitiveTypes/kt3613.kt");
}
@TestMetadata("kt36952_identityEqualsWithBooleanInLocalFunction.kt")
public void testKt36952_identityEqualsWithBooleanInLocalFunction() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt36952_identityEqualsWithBooleanInLocalFunction.kt");
}
@TestMetadata("kt37505.kt")
public void testKt37505() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt37505.kt");
@@ -27888,6 +27923,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/primitiveTypes/kt4210.kt");
}
@TestMetadata("kt42415_javaClassOfLongLiteral.kt")
public void testKt42415_javaClassOfLongLiteral() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt42415_javaClassOfLongLiteral.kt");
}
@TestMetadata("kt4251.kt")
public void testKt4251() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt4251.kt");
@@ -34922,6 +34962,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/reified/kt16445.kt");
}
@TestMetadata("kt36237.kt")
public void testKt36237() throws Exception {
runTest("compiler/testData/codegen/box/reified/kt36237.kt");
}
@TestMetadata("kt39256_privateInlineWithAnonymousObject.kt")
public void testKt39256_privateInlineWithAnonymousObject() throws Exception {
runTest("compiler/testData/codegen/box/reified/kt39256_privateInlineWithAnonymousObject.kt");
}
@TestMetadata("nestedReified.kt")
public void testNestedReified() throws Exception {
runTest("compiler/testData/codegen/box/reified/nestedReified.kt");
@@ -39169,6 +39219,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_string.kt");
}
@TestMetadata("kt33641_inlineClass.kt")
public void testKt33641_inlineClass() throws Exception {
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt33641_inlineClass.kt");
}
@TestMetadata("rangeCheckOnSubjectVariable.kt")
public void testRangeCheckOnSubjectVariable() throws Exception {
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/rangeCheckOnSubjectVariable.kt");
@@ -2372,6 +2372,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/callableReference/bound/kt15446.kt");
}
@Test
@TestMetadata("kt44636_localExtension.kt")
public void testKt44636_localExtension() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/kt44636_localExtension.kt");
}
@Test
@TestMetadata("multiCase.kt")
public void testMultiCase() throws Exception {
@@ -4627,6 +4633,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/closures/kt47840.kt");
}
@Test
@TestMetadata("kt47894_inlineFunWithObjectWithNothing.kt")
public void testKt47894_inlineFunWithObjectWithNothing() throws Exception {
runTest("compiler/testData/codegen/box/closures/kt47894_inlineFunWithObjectWithNothing.kt");
}
@Test
@TestMetadata("kt5589.kt")
public void testKt5589() throws Exception {
@@ -5996,6 +6008,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt17384.kt");
}
@Test
@TestMetadata("kt45704_elvisInInlineFun.kt")
public void testKt45704_elvisInInlineFun() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt45704_elvisInInlineFun.kt");
}
@Test
@TestMetadata("kt9022And.kt")
public void testKt9022And() throws Exception {
@@ -7943,6 +7961,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/infixRecursiveCall.kt");
}
@Test
@TestMetadata("kt38920_localTailrec.kt")
public void testKt38920_localTailrec() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/kt38920_localTailrec.kt");
}
@Test
@TestMetadata("realIteratorFoldl.kt")
public void testRealIteratorFoldl() throws Exception {
@@ -9980,6 +10004,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/dataClasses/toString/mixedParams.kt");
}
@Test
@TestMetadata("primitiveArrays.kt")
public void testPrimitiveArrays() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/toString/primitiveArrays.kt");
}
@Test
@TestMetadata("unitComponent.kt")
public void testUnitComponent() throws Exception {
@@ -11575,6 +11605,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/insideElvis.kt");
}
@Test
@TestMetadata("kt47084_lambdaInDefaultArgument.kt")
public void testKt47084_lambdaInDefaultArgument() throws Exception {
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/kt47084_lambdaInDefaultArgument.kt");
}
@Test
@TestMetadata("labeledThisReferences.kt")
public void testLabeledThisReferences() throws Exception {
@@ -23845,6 +23881,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/primitiveTypes/kt3613.kt");
}
@Test
@TestMetadata("kt36952_identityEqualsWithBooleanInLocalFunction.kt")
public void testKt36952_identityEqualsWithBooleanInLocalFunction() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt36952_identityEqualsWithBooleanInLocalFunction.kt");
}
@Test
@TestMetadata("kt37505.kt")
public void testKt37505() throws Exception {
@@ -31977,6 +32019,18 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/reified/kt16445.kt");
}
@Test
@TestMetadata("kt36237.kt")
public void testKt36237() throws Exception {
runTest("compiler/testData/codegen/box/reified/kt36237.kt");
}
@Test
@TestMetadata("kt39256_privateInlineWithAnonymousObject.kt")
public void testKt39256_privateInlineWithAnonymousObject() throws Exception {
runTest("compiler/testData/codegen/box/reified/kt39256_privateInlineWithAnonymousObject.kt");
}
@Test
@TestMetadata("newArrayInt.kt")
public void testNewArrayInt() throws Exception {
@@ -35388,6 +35442,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_string.kt");
}
@Test
@TestMetadata("kt33641_inlineClass.kt")
public void testKt33641_inlineClass() throws Exception {
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt33641_inlineClass.kt");
}
@Test
@TestMetadata("rangeCheckOnSubjectVariable.kt")
public void testRangeCheckOnSubjectVariable() throws Exception {
@@ -2414,6 +2414,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/callableReference/bound/kt15446.kt");
}
@Test
@TestMetadata("kt44636_localExtension.kt")
public void testKt44636_localExtension() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/kt44636_localExtension.kt");
}
@Test
@TestMetadata("multiCase.kt")
public void testMultiCase() throws Exception {
@@ -4669,6 +4675,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/closures/kt47840.kt");
}
@Test
@TestMetadata("kt47894_inlineFunWithObjectWithNothing.kt")
public void testKt47894_inlineFunWithObjectWithNothing() throws Exception {
runTest("compiler/testData/codegen/box/closures/kt47894_inlineFunWithObjectWithNothing.kt");
}
@Test
@TestMetadata("kt5589.kt")
public void testKt5589() throws Exception {
@@ -6038,6 +6050,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt17384.kt");
}
@Test
@TestMetadata("kt45704_elvisInInlineFun.kt")
public void testKt45704_elvisInInlineFun() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt45704_elvisInInlineFun.kt");
}
@Test
@TestMetadata("kt9022And.kt")
public void testKt9022And() throws Exception {
@@ -7985,6 +8003,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/infixRecursiveCall.kt");
}
@Test
@TestMetadata("kt38920_localTailrec.kt")
public void testKt38920_localTailrec() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/kt38920_localTailrec.kt");
}
@Test
@TestMetadata("realIteratorFoldl.kt")
public void testRealIteratorFoldl() throws Exception {
@@ -10022,6 +10046,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/dataClasses/toString/mixedParams.kt");
}
@Test
@TestMetadata("primitiveArrays.kt")
public void testPrimitiveArrays() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/toString/primitiveArrays.kt");
}
@Test
@TestMetadata("unitComponent.kt")
public void testUnitComponent() throws Exception {
@@ -11617,6 +11647,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/insideElvis.kt");
}
@Test
@TestMetadata("kt47084_lambdaInDefaultArgument.kt")
public void testKt47084_lambdaInDefaultArgument() throws Exception {
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/kt47084_lambdaInDefaultArgument.kt");
}
@Test
@TestMetadata("labeledThisReferences.kt")
public void testLabeledThisReferences() throws Exception {
@@ -23809,6 +23845,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/primitiveTypes/kt3613.kt");
}
@Test
@TestMetadata("kt36952_identityEqualsWithBooleanInLocalFunction.kt")
public void testKt36952_identityEqualsWithBooleanInLocalFunction() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt36952_identityEqualsWithBooleanInLocalFunction.kt");
}
@Test
@TestMetadata("kt37505.kt")
public void testKt37505() throws Exception {
@@ -32079,6 +32121,18 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/reified/kt16445.kt");
}
@Test
@TestMetadata("kt36237.kt")
public void testKt36237() throws Exception {
runTest("compiler/testData/codegen/box/reified/kt36237.kt");
}
@Test
@TestMetadata("kt39256_privateInlineWithAnonymousObject.kt")
public void testKt39256_privateInlineWithAnonymousObject() throws Exception {
runTest("compiler/testData/codegen/box/reified/kt39256_privateInlineWithAnonymousObject.kt");
}
@Test
@TestMetadata("newArrayInt.kt")
public void testNewArrayInt() throws Exception {
@@ -35490,6 +35544,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_string.kt");
}
@Test
@TestMetadata("kt33641_inlineClass.kt")
public void testKt33641_inlineClass() throws Exception {
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt33641_inlineClass.kt");
}
@Test
@TestMetadata("rangeCheckOnSubjectVariable.kt")
public void testRangeCheckOnSubjectVariable() throws Exception {
@@ -2146,6 +2146,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/callableReference/bound/kt15446.kt");
}
@TestMetadata("kt44636_localExtension.kt")
public void testKt44636_localExtension() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/kt44636_localExtension.kt");
}
@TestMetadata("multiCase.kt")
public void testMultiCase() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/multiCase.kt");
@@ -4114,6 +4119,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/closures/kt47840.kt");
}
@TestMetadata("kt47894_inlineFunWithObjectWithNothing.kt")
public void testKt47894_inlineFunWithObjectWithNothing() throws Exception {
runTest("compiler/testData/codegen/box/closures/kt47894_inlineFunWithObjectWithNothing.kt");
}
@TestMetadata("kt5589.kt")
public void testKt5589() throws Exception {
runTest("compiler/testData/codegen/box/closures/kt5589.kt");
@@ -5222,6 +5232,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt17384.kt");
}
@TestMetadata("kt45704_elvisInInlineFun.kt")
public void testKt45704_elvisInInlineFun() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt45704_elvisInInlineFun.kt");
}
@TestMetadata("kt9022And.kt")
public void testKt9022And() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt9022And.kt");
@@ -6947,6 +6962,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/infixRecursiveCall.kt");
}
@TestMetadata("kt38920_localTailrec.kt")
public void testKt38920_localTailrec() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/kt38920_localTailrec.kt");
}
@TestMetadata("realIteratorFoldl.kt")
public void testRealIteratorFoldl() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realIteratorFoldl.kt");
@@ -8780,6 +8800,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/dataClasses/toString/mixedParams.kt");
}
@TestMetadata("primitiveArrays.kt")
public void testPrimitiveArrays() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/toString/primitiveArrays.kt");
}
@TestMetadata("unitComponent.kt")
public void testUnitComponent() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/toString/unitComponent.kt");
@@ -9612,6 +9637,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/insideElvis.kt");
}
@TestMetadata("kt47084_lambdaInDefaultArgument.kt")
public void testKt47084_lambdaInDefaultArgument() throws Exception {
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/kt47084_lambdaInDefaultArgument.kt");
}
@TestMetadata("labeledThisReferences.kt")
public void testLabeledThisReferences() throws Exception {
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/labeledThisReferences.kt");
@@ -20467,6 +20497,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/primitiveTypes/kt3613.kt");
}
@TestMetadata("kt36952_identityEqualsWithBooleanInLocalFunction.kt")
public void testKt36952_identityEqualsWithBooleanInLocalFunction() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt36952_identityEqualsWithBooleanInLocalFunction.kt");
}
@TestMetadata("kt37505.kt")
public void testKt37505() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt37505.kt");
@@ -26684,6 +26719,16 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/reified/kt16445.kt");
}
@TestMetadata("kt36237.kt")
public void testKt36237() throws Exception {
runTest("compiler/testData/codegen/box/reified/kt36237.kt");
}
@TestMetadata("kt39256_privateInlineWithAnonymousObject.kt")
public void testKt39256_privateInlineWithAnonymousObject() throws Exception {
runTest("compiler/testData/codegen/box/reified/kt39256_privateInlineWithAnonymousObject.kt");
}
@TestMetadata("newArrayInt.kt")
public void testNewArrayInt() throws Exception {
runTest("compiler/testData/codegen/box/reified/newArrayInt.kt");
@@ -29741,6 +29786,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_string.kt");
}
@TestMetadata("kt33641_inlineClass.kt")
public void testKt33641_inlineClass() throws Exception {
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt33641_inlineClass.kt");
}
@TestMetadata("rangeCheckOnSubjectVariable.kt")
public void testRangeCheckOnSubjectVariable() throws Exception {
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/rangeCheckOnSubjectVariable.kt");
@@ -2472,6 +2472,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/callableReference/bound/kt15446.kt");
}
@Test
@TestMetadata("kt44636_localExtension.kt")
public void testKt44636_localExtension() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/bound/kt44636_localExtension.kt");
}
@Test
@TestMetadata("multiCase.kt")
public void testMultiCase() throws Exception {
@@ -4765,6 +4771,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/closures/kt47840.kt");
}
@Test
@TestMetadata("kt47894_inlineFunWithObjectWithNothing.kt")
public void testKt47894_inlineFunWithObjectWithNothing() throws Exception {
runTest("compiler/testData/codegen/box/closures/kt47894_inlineFunWithObjectWithNothing.kt");
}
@Test
@TestMetadata("kt5589.kt")
public void testKt5589() throws Exception {
@@ -6834,6 +6846,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt17384.kt");
}
@Test
@TestMetadata("kt45704_elvisInInlineFun.kt")
public void testKt45704_elvisInInlineFun() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt45704_elvisInInlineFun.kt");
}
@Test
@TestMetadata("kt9022And.kt")
public void testKt9022And() throws Exception {
@@ -8825,6 +8843,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/infixRecursiveCall.kt");
}
@Test
@TestMetadata("kt38920_localTailrec.kt")
public void testKt38920_localTailrec() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/kt38920_localTailrec.kt");
}
@Test
@TestMetadata("realIteratorFoldl.kt")
public void testRealIteratorFoldl() throws Exception {
@@ -10920,6 +10944,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/dataClasses/toString/mixedParams.kt");
}
@Test
@TestMetadata("primitiveArrays.kt")
public void testPrimitiveArrays() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/toString/primitiveArrays.kt");
}
@Test
@TestMetadata("unitComponent.kt")
public void testUnitComponent() throws Exception {
@@ -12557,6 +12587,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/insideElvis.kt");
}
@Test
@TestMetadata("kt47084_lambdaInDefaultArgument.kt")
public void testKt47084_lambdaInDefaultArgument() throws Exception {
runTest("compiler/testData/codegen/box/diagnostics/functions/tailRecursion/kt47084_lambdaInDefaultArgument.kt");
}
@Test
@TestMetadata("labeledThisReferences.kt")
public void testLabeledThisReferences() throws Exception {
@@ -26572,6 +26608,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/primitiveTypes/kt3613.kt");
}
@Test
@TestMetadata("kt36952_identityEqualsWithBooleanInLocalFunction.kt")
public void testKt36952_identityEqualsWithBooleanInLocalFunction() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/kt36952_identityEqualsWithBooleanInLocalFunction.kt");
}
@Test
@TestMetadata("kt37505.kt")
public void testKt37505() throws Exception {
@@ -35002,6 +35044,18 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/reified/kt16445.kt");
}
@Test
@TestMetadata("kt36237.kt")
public void testKt36237() throws Exception {
runTest("compiler/testData/codegen/box/reified/kt36237.kt");
}
@Test
@TestMetadata("kt39256_privateInlineWithAnonymousObject.kt")
public void testKt39256_privateInlineWithAnonymousObject() throws Exception {
runTest("compiler/testData/codegen/box/reified/kt39256_privateInlineWithAnonymousObject.kt");
}
@Test
@TestMetadata("newArrayInt.kt")
public void testNewArrayInt() throws Exception {
@@ -38505,6 +38559,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_string.kt");
}
@Test
@TestMetadata("kt33641_inlineClass.kt")
public void testKt33641_inlineClass() throws Exception {
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt33641_inlineClass.kt");
}
@Test
@TestMetadata("rangeCheckOnSubjectVariable.kt")
public void testRangeCheckOnSubjectVariable() throws Exception {