[K/JS, K/Wasm, K/Native] Process anonymous initializers inside classes as a part of their primary constructors ^KT-61929 Fixed
This commit is contained in:
+6
@@ -4901,6 +4901,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/classes/namedClassObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedInitBlocksWithLambda.kt")
|
||||
public void testNestedInitBlocksWithLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/classes/nestedInitBlocksWithLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("outerThis.kt")
|
||||
public void testOuterThis() throws Exception {
|
||||
|
||||
Generated
+6
@@ -4901,6 +4901,12 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT
|
||||
runTest("compiler/testData/codegen/box/classes/namedClassObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedInitBlocksWithLambda.kt")
|
||||
public void testNestedInitBlocksWithLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/classes/nestedInitBlocksWithLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("outerThis.kt")
|
||||
public void testOuterThis() throws Exception {
|
||||
|
||||
+6
@@ -4901,6 +4901,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/classes/namedClassObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedInitBlocksWithLambda.kt")
|
||||
public void testNestedInitBlocksWithLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/classes/nestedInitBlocksWithLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("outerThis.kt")
|
||||
public void testOuterThis() throws Exception {
|
||||
|
||||
+6
@@ -4901,6 +4901,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
runTest("compiler/testData/codegen/box/classes/namedClassObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedInitBlocksWithLambda.kt")
|
||||
public void testNestedInitBlocksWithLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/classes/nestedInitBlocksWithLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("outerThis.kt")
|
||||
public void testOuterThis() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user