[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
+10
@@ -39077,6 +39077,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
public void testAllFilesPresentInTopLevelInitializtion() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/topLevelInitializtion"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("failInInitializer1.kt")
|
||||
public void testFailInInitializer1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/topLevelInitializtion/failInInitializer1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("failInInitializer2.kt")
|
||||
public void testFailInInitializer2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/topLevelInitializtion/failInInitializer2.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/topLevelPrivate")
|
||||
|
||||
Reference in New Issue
Block a user