JS: fix support of throwable constructors without message and/or cause parameters

This commit is contained in:
Alexey Andreev
2016-12-29 15:52:47 +03:00
parent 6f4d8decc7
commit 115f6ced87
11 changed files with 99 additions and 8 deletions
@@ -20421,6 +20421,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
doTest(fileName);
}
@TestMetadata("exceptionCause.kt")
public void testExceptionCause() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/specialBuiltins/exceptionCause.kt");
doTest(fileName);
}
@TestMetadata("explicitSuperCall.kt")
public void testExplicitSuperCall() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/specialBuiltins/explicitSuperCall.kt");