JS: allow to inherit external class from kotlin.Throwable. See KT-15336

This commit is contained in:
Alexey Andreev
2016-12-28 15:43:10 +03:00
parent 847ec9e550
commit 51e5b5aac7
3 changed files with 19 additions and 5 deletions
@@ -5807,6 +5807,12 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
doTest(fileName);
}
@TestMetadata("exception.kt")
public void testException() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/native/exception.kt");
doTest(fileName);
}
@TestMetadata("inheritanceFromNativeClass.kt")
public void testInheritanceFromNativeClass() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/native/inheritanceFromNativeClass.kt");