[K/N] Make exception handling in initializers more consistent with jvm
^KT-57091
This commit is contained in:
committed by
Space Team
parent
0506d39d8a
commit
dc2e072af2
+24
@@ -39460,6 +39460,30 @@ public class K2NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTes
|
||||
public void testConcurrent() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/topLevelInitializtion/concurrent.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("failInInitializer1.kt")
|
||||
public void testFailInInitializer1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/topLevelInitializtion/failInInitializer1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("failInInitializer2.kt")
|
||||
public void testFailInInitializer2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/topLevelInitializtion/failInInitializer2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("failInInitializer3.kt")
|
||||
public void testFailInInitializer3() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/topLevelInitializtion/failInInitializer3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("failInInitializer4.kt")
|
||||
public void testFailInInitializer4() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/topLevelInitializtion/failInInitializer4.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+24
@@ -38965,6 +38965,30 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
public void testConcurrent() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/topLevelInitializtion/concurrent.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("failInInitializer1.kt")
|
||||
public void testFailInInitializer1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/topLevelInitializtion/failInInitializer1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("failInInitializer2.kt")
|
||||
public void testFailInInitializer2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/topLevelInitializtion/failInInitializer2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("failInInitializer3.kt")
|
||||
public void testFailInInitializer3() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/topLevelInitializtion/failInInitializer3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("failInInitializer4.kt")
|
||||
public void testFailInInitializer4() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/topLevelInitializtion/failInInitializer4.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user