JVM_IR: generate "safe" names for functions in init blocks
This commit is contained in:
Generated
+5
@@ -3608,6 +3608,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/closures/localFunctionInFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localFunctionInInitBlock.kt")
|
||||
public void testLocalFunctionInInitBlock() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/closures/localFunctionInInitBlock.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localFunctionInInitializer.kt")
|
||||
public void testLocalFunctionInInitializer() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/closures/localFunctionInInitializer.kt");
|
||||
|
||||
Generated
+5
@@ -3608,6 +3608,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/closures/localFunctionInFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localFunctionInInitBlock.kt")
|
||||
public void testLocalFunctionInInitBlock() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/closures/localFunctionInInitBlock.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localFunctionInInitializer.kt")
|
||||
public void testLocalFunctionInInitializer() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/closures/localFunctionInInitializer.kt");
|
||||
|
||||
+5
@@ -3608,6 +3608,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/closures/localFunctionInFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localFunctionInInitBlock.kt")
|
||||
public void testLocalFunctionInInitBlock() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/closures/localFunctionInInitBlock.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localFunctionInInitializer.kt")
|
||||
public void testLocalFunctionInInitializer() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/closures/localFunctionInInitializer.kt");
|
||||
|
||||
Reference in New Issue
Block a user