JS: add support of custom exceptions inherited from kotlin.Throwable that call super constructor from secondary constructor

This commit is contained in:
Alexey Andreev
2016-12-29 14:51:47 +03:00
parent f34093db9f
commit 6f4d8decc7
8 changed files with 78 additions and 19 deletions
@@ -16235,6 +16235,12 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis
doTest(fileName);
}
@TestMetadata("throwableImplWithSecondaryConstructor.kt")
public void testThrowableImplWithSecondaryConstructor() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/specialBuiltins/throwableImplWithSecondaryConstructor.kt");
doTest(fileName);
}
@TestMetadata("valuesInsideEnum.kt")
public void testValuesInsideEnum() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/specialBuiltins/valuesInsideEnum.kt");