KJS: don't overwrite prototype of native classes when inheriting from them

This commit is contained in:
Zalim Bashorov
2016-11-14 19:40:04 +03:00
parent c25dfe997c
commit bd90b4e051
3 changed files with 53 additions and 1 deletions
@@ -3455,6 +3455,12 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
doTest(fileName);
}
@TestMetadata("nativeNativeKotlin.kt")
public void testNativeNativeKotlin() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/inheritance/nativeNativeKotlin.kt");
doTest(fileName);
}
@TestMetadata("overrideAnyMethods.kt")
public void testOverrideAnyMethods() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/inheritance/overrideAnyMethods.kt");