Tests for issues fixed in JVM_IR

This commit is contained in:
Dmitry Petrov
2020-12-21 15:41:21 +03:00
parent 5e5b236ef8
commit 443cd0fc2c
19 changed files with 364 additions and 1 deletions
@@ -2050,6 +2050,11 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/callableReference/javaField.kt");
}
@TestMetadata("kt21014.kt")
public void testKt21014() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt21014.kt");
}
@TestMetadata("kt37604.kt")
public void testKt37604() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt37604.kt");
@@ -16305,6 +16310,11 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/incWithNullabilityAssertionOnExtensionReceiverInPrivateOperator.kt");
}
@TestMetadata("kt18911.kt")
public void testKt18911() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/kt18911.kt");
}
@TestMetadata("localEntities.kt")
public void testLocalEntities() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/localEntities.kt");
@@ -18272,6 +18282,11 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/localClasses/anonymousObjectInParameterInitializer.kt");
}
@TestMetadata("capturingInDefaultConstructorParameter.kt")
public void testCapturingInDefaultConstructorParameter() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/capturingInDefaultConstructorParameter.kt");
}
@TestMetadata("closureOfInnerLocalClass.kt")
public void testClosureOfInnerLocalClass() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/closureOfInnerLocalClass.kt");
@@ -18317,6 +18332,16 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/localClasses/innerOfLocalCaptureExtensionReceiver.kt");
}
@TestMetadata("kt10835.kt")
public void testKt10835() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt10835.kt");
}
@TestMetadata("kt10835a.kt")
public void testKt10835a() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt10835a.kt");
}
@TestMetadata("kt2700.kt")
public void testKt2700() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt2700.kt");
@@ -0,0 +1,17 @@
// WITH_RUNTIME
// IGNORE_BACKEND: JVM
// IGNORE_LIGHT_ANALYSIS
// DONT_TARGET_EXACT_BACKEND: WASM
// WASM_MUTE_REASON: PROPERTY_REFERENCES
fun box(): String {
val ints = intArrayOf(1, 2, 3)
val test1 = IntArray::size.get(ints)
if (test1 != 3) throw Exception("IntArray::size.get(ints) != 3: $test1")
val test2 = with(ints, IntArray::size)
if (test2 != 3) throw Exception("with(ints, IntArray::size) != 3: $test2")
return "OK"
}
@@ -0,0 +1,35 @@
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FILE: kt18911.kt
fun testNullString() {
try {
val t1 = J.nullString()::capitalize
throw Exception("'J.nullString()::capitalize' should throw")
} catch (e: NullPointerException) {}
}
fun testNotNullString() {
try {
val t1 = J.notNullString()::capitalize
throw Exception("'J.notNullString()::capitalize' should throw")
} catch (e: NullPointerException) {}
}
fun box(): String {
testNullString()
testNotNullString()
return "OK"
}
// FILE: J.java
import org.jetbrains.annotations.NotNull;
public class J {
public static String nullString() {
return null;
}
public static @NotNull String notNullString() {
return null;
}
}
@@ -0,0 +1,11 @@
// IGNORE_BACKEND: JVM
open class Base(val fn: () -> String)
class Test(x: String) :
Base({
class Local(val t: String = x)
Local().t
})
fun box() =
Test("OK").fn()
+16
View File
@@ -0,0 +1,16 @@
// IGNORE_BACKEND: JVM
class X(val x: String) {
open inner class Y {
fun foo() = x
}
fun foo(s: String): String {
with(X(s+x)) {
val obj = object : Y() {}
return obj.foo()
}
}
}
fun box() =
X("K").foo("O")
+22
View File
@@ -0,0 +1,22 @@
// IGNORE_BACKEND: JVM
fun <T, R> with2(receiver: T, block: T.() -> R): R {
return receiver.block()
}
class X(val x: String) {
open inner class Y {
fun foo() = x
}
fun foo(s: String): String {
var t = ""
with2(X(s+x)) {
val obj = object : Y() {}
t = obj.foo()
}
return t
}
}
fun box() =
X("K").foo("O")
@@ -0,0 +1,16 @@
// WITH_SIGNATURES
// FILE: t.kt
fun main(x: DataStream<Int>) {
x.keyBy({ it.toLong() })
x.keyBy(KeySelector<Int, Long>{ it.toLong() })
}
// FILE: KeySelector.java
public interface KeySelector<IN, KEY> {
KEY getKey(IN value);
}
// FILE: DataStream.java
public class DataStream<T> {
public <K> void keyBy(KeySelector<T,K> key) {}
}
@@ -0,0 +1,31 @@
@kotlin.Metadata
final class<<IN:Ljava/lang/Object;KEY:Ljava/lang/Object;>Ljava/lang/Object;LKeySelector<Ljava/lang/Integer;Ljava/lang/Long;>;> TKt$main$1 {
// source: 't.kt'
static <null> method <clinit>(): void
<null> method <init>(): void
public final <null> method getKey(p0: java.lang.Integer): java.lang.Long
public synthetic bridge <null> method getKey(p0: java.lang.Object): java.lang.Object
enclosing method TKt.main(LDataStream;)V
public final static field <null> INSTANCE: TKt$main$1
inner (anonymous) class TKt$main$1
}
@kotlin.Metadata
final class<<IN:Ljava/lang/Object;KEY:Ljava/lang/Object;>Ljava/lang/Object;LKeySelector<Ljava/lang/Integer;Ljava/lang/Long;>;> TKt$main$2 {
// source: 't.kt'
static <null> method <clinit>(): void
<null> method <init>(): void
public final <null> method getKey(p0: java.lang.Integer): java.lang.Long
public synthetic bridge <null> method getKey(p0: java.lang.Object): java.lang.Object
enclosing method TKt.main(LDataStream;)V
public final static field <null> INSTANCE: TKt$main$2
inner (anonymous) class TKt$main$2
}
@kotlin.Metadata
public final class<null> TKt {
// source: 't.kt'
public final static <(LDataStream<Ljava/lang/Integer;>;)V> method main(@org.jetbrains.annotations.NotNull p0: DataStream): void
inner (anonymous) class TKt$main$1
inner (anonymous) class TKt$main$2
}
@@ -0,0 +1,31 @@
@kotlin.Metadata
final class<<IN:Ljava/lang/Object;KEY:Ljava/lang/Object;>Ljava/lang/Object;LKeySelector<Ljava/lang/Integer;Ljava/lang/Long;>;> TKt$main$1 {
// source: 't.kt'
static <null> method <clinit>(): void
<null> method <init>(): void
public final <null> method getKey(p0: java.lang.Integer): java.lang.Long
public synthetic bridge <null> method getKey(p0: java.lang.Object): java.lang.Object
enclosing method TKt.main(LDataStream;)V
public final static field <LTKt$main$1<TIN;TKEY;>;> INSTANCE: TKt$main$1
inner (anonymous) class TKt$main$1
}
@kotlin.Metadata
final class<<IN:Ljava/lang/Object;KEY:Ljava/lang/Object;>Ljava/lang/Object;LKeySelector<Ljava/lang/Integer;Ljava/lang/Long;>;> TKt$main$2 {
// source: 't.kt'
static <null> method <clinit>(): void
<null> method <init>(): void
public final <null> method getKey(p0: java.lang.Integer): java.lang.Long
public synthetic bridge <null> method getKey(p0: java.lang.Object): java.lang.Object
enclosing method TKt.main(LDataStream;)V
public final static field <LTKt$main$2<TIN;TKEY;>;> INSTANCE: TKt$main$2
inner (anonymous) class TKt$main$2
}
@kotlin.Metadata
public final class<null> TKt {
// source: 't.kt'
public final static <(LDataStream<Ljava/lang/Integer;>;)V> method main(@org.jetbrains.annotations.NotNull p0: DataStream): void
inner (anonymous) class TKt$main$1
inner (anonymous) class TKt$main$2
}
-1
View File
@@ -1,6 +1,5 @@
// !LANGUAGE: +PolymorphicSignature
// TARGET_BACKEND: JVM
// IGNORE_BACKEND: JVM_IR
// FULL_JDK
// SKIP_JDK6
// WITH_RUNTIME
@@ -2050,6 +2050,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/callableReference/javaField.kt");
}
@TestMetadata("kt21014.kt")
public void testKt21014() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt21014.kt");
}
@TestMetadata("kt37604.kt")
public void testKt37604() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt37604.kt");
@@ -16305,6 +16310,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/incWithNullabilityAssertionOnExtensionReceiverInPrivateOperator.kt");
}
@TestMetadata("kt18911.kt")
public void testKt18911() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/kt18911.kt");
}
@TestMetadata("localEntities.kt")
public void testLocalEntities() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/localEntities.kt");
@@ -18272,6 +18282,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/localClasses/anonymousObjectInParameterInitializer.kt");
}
@TestMetadata("capturingInDefaultConstructorParameter.kt")
public void testCapturingInDefaultConstructorParameter() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/capturingInDefaultConstructorParameter.kt");
}
@TestMetadata("closureOfInnerLocalClass.kt")
public void testClosureOfInnerLocalClass() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/closureOfInnerLocalClass.kt");
@@ -18317,6 +18332,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/localClasses/innerOfLocalCaptureExtensionReceiver.kt");
}
@TestMetadata("kt10835.kt")
public void testKt10835() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt10835.kt");
}
@TestMetadata("kt10835a.kt")
public void testKt10835a() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt10835a.kt");
}
@TestMetadata("kt2700.kt")
public void testKt2700() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt2700.kt");
@@ -1543,6 +1543,11 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
runTest("compiler/testData/codegen/bytecodeListing/sam/genericSamInterface.kt");
}
@TestMetadata("kt16650.kt")
public void testKt16650() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/sam/kt16650.kt");
}
@TestMetadata("lambdaGenericFunInterface.kt")
public void testLambdaGenericFunInterface() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/sam/lambdaGenericFunInterface.kt");
@@ -2017,6 +2017,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class CallableReference extends AbstractLightAnalysisModeTest {
@TestMetadata("kt21014.kt")
public void ignoreKt21014() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt21014.kt");
}
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}
@@ -16305,6 +16310,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/incWithNullabilityAssertionOnExtensionReceiverInPrivateOperator.kt");
}
@TestMetadata("kt18911.kt")
public void testKt18911() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/kt18911.kt");
}
@TestMetadata("localEntities.kt")
public void testLocalEntities() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/localEntities.kt");
@@ -18249,6 +18259,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class LocalClasses extends AbstractLightAnalysisModeTest {
@TestMetadata("capturingInDefaultConstructorParameter.kt")
public void ignoreCapturingInDefaultConstructorParameter() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/capturingInDefaultConstructorParameter.kt");
}
@TestMetadata("closureOfInnerLocalClass.kt")
public void ignoreClosureOfInnerLocalClass() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/closureOfInnerLocalClass.kt");
@@ -18259,6 +18274,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/localClasses/closureWithSelfInstantiation.kt");
}
@TestMetadata("kt10835.kt")
public void ignoreKt10835() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt10835.kt");
}
@TestMetadata("kt10835a.kt")
public void ignoreKt10835a() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt10835a.kt");
}
@TestMetadata("subclassingExtensionReceiverClass.kt")
public void ignoreSubclassingExtensionReceiverClass() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/subclassingExtensionReceiverClass.kt");
@@ -2050,6 +2050,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/callableReference/javaField.kt");
}
@TestMetadata("kt21014.kt")
public void testKt21014() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt21014.kt");
}
@TestMetadata("kt37604.kt")
public void testKt37604() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt37604.kt");
@@ -16305,6 +16310,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/incWithNullabilityAssertionOnExtensionReceiverInPrivateOperator.kt");
}
@TestMetadata("kt18911.kt")
public void testKt18911() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/kt18911.kt");
}
@TestMetadata("localEntities.kt")
public void testLocalEntities() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/localEntities.kt");
@@ -18272,6 +18282,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/localClasses/anonymousObjectInParameterInitializer.kt");
}
@TestMetadata("capturingInDefaultConstructorParameter.kt")
public void testCapturingInDefaultConstructorParameter() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/capturingInDefaultConstructorParameter.kt");
}
@TestMetadata("closureOfInnerLocalClass.kt")
public void testClosureOfInnerLocalClass() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/closureOfInnerLocalClass.kt");
@@ -18317,6 +18332,16 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/localClasses/innerOfLocalCaptureExtensionReceiver.kt");
}
@TestMetadata("kt10835.kt")
public void testKt10835() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt10835.kt");
}
@TestMetadata("kt10835a.kt")
public void testKt10835a() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt10835a.kt");
}
@TestMetadata("kt2700.kt")
public void testKt2700() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt2700.kt");
@@ -1543,6 +1543,11 @@ public class IrBytecodeListingTestGenerated extends AbstractIrBytecodeListingTes
runTest("compiler/testData/codegen/bytecodeListing/sam/genericSamInterface.kt");
}
@TestMetadata("kt16650.kt")
public void testKt16650() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/sam/kt16650.kt");
}
@TestMetadata("lambdaGenericFunInterface.kt")
public void testLambdaGenericFunInterface() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/sam/lambdaGenericFunInterface.kt");
@@ -1470,6 +1470,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/callableReference/genericLocalClassConstructorReference.kt");
}
@TestMetadata("kt21014.kt")
public void testKt21014() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt21014.kt");
}
@TestMetadata("kt37604.kt")
public void testKt37604() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt37604.kt");
@@ -14562,6 +14567,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/localClasses/anonymousObjectInParameterInitializer.kt");
}
@TestMetadata("capturingInDefaultConstructorParameter.kt")
public void testCapturingInDefaultConstructorParameter() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/capturingInDefaultConstructorParameter.kt");
}
@TestMetadata("closureOfInnerLocalClass.kt")
public void testClosureOfInnerLocalClass() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/closureOfInnerLocalClass.kt");
@@ -14607,6 +14617,16 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/localClasses/innerOfLocalCaptureExtensionReceiver.kt");
}
@TestMetadata("kt10835.kt")
public void testKt10835() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt10835.kt");
}
@TestMetadata("kt10835a.kt")
public void testKt10835a() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt10835a.kt");
}
@TestMetadata("kt2700.kt")
public void testKt2700() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt2700.kt");
@@ -1470,6 +1470,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/callableReference/genericLocalClassConstructorReference.kt");
}
@TestMetadata("kt21014.kt")
public void testKt21014() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt21014.kt");
}
@TestMetadata("kt37604.kt")
public void testKt37604() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt37604.kt");
@@ -14562,6 +14567,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/localClasses/anonymousObjectInParameterInitializer.kt");
}
@TestMetadata("capturingInDefaultConstructorParameter.kt")
public void testCapturingInDefaultConstructorParameter() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/capturingInDefaultConstructorParameter.kt");
}
@TestMetadata("closureOfInnerLocalClass.kt")
public void testClosureOfInnerLocalClass() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/closureOfInnerLocalClass.kt");
@@ -14607,6 +14617,16 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/localClasses/innerOfLocalCaptureExtensionReceiver.kt");
}
@TestMetadata("kt10835.kt")
public void testKt10835() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt10835.kt");
}
@TestMetadata("kt10835a.kt")
public void testKt10835a() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt10835a.kt");
}
@TestMetadata("kt2700.kt")
public void testKt2700() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt2700.kt");
@@ -1470,6 +1470,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/callableReference/genericLocalClassConstructorReference.kt");
}
@TestMetadata("kt21014.kt")
public void testKt21014() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt21014.kt");
}
@TestMetadata("kt37604.kt")
public void testKt37604() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt37604.kt");
@@ -14627,6 +14632,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/localClasses/anonymousObjectInParameterInitializer.kt");
}
@TestMetadata("capturingInDefaultConstructorParameter.kt")
public void testCapturingInDefaultConstructorParameter() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/capturingInDefaultConstructorParameter.kt");
}
@TestMetadata("closureOfInnerLocalClass.kt")
public void testClosureOfInnerLocalClass() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/closureOfInnerLocalClass.kt");
@@ -14672,6 +14682,16 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/localClasses/innerOfLocalCaptureExtensionReceiver.kt");
}
@TestMetadata("kt10835.kt")
public void testKt10835() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt10835.kt");
}
@TestMetadata("kt10835a.kt")
public void testKt10835a() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt10835a.kt");
}
@TestMetadata("kt2700.kt")
public void testKt2700() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt2700.kt");
@@ -8753,6 +8753,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/localClasses/anonymousObjectInParameterInitializer.kt");
}
@TestMetadata("capturingInDefaultConstructorParameter.kt")
public void testCapturingInDefaultConstructorParameter() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/capturingInDefaultConstructorParameter.kt");
}
@TestMetadata("closureOfInnerLocalClass.kt")
public void testClosureOfInnerLocalClass() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/closureOfInnerLocalClass.kt");
@@ -8793,6 +8798,16 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/localClasses/innerOfLocalCaptureExtensionReceiver.kt");
}
@TestMetadata("kt10835.kt")
public void testKt10835() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt10835.kt");
}
@TestMetadata("kt10835a.kt")
public void testKt10835a() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt10835a.kt");
}
@TestMetadata("kt2700.kt")
public void testKt2700() throws Exception {
runTest("compiler/testData/codegen/box/localClasses/kt2700.kt");