JS: allow to inherit external classes with overloaded functions in case we don't override them (see KT-13910).

This commit is contained in:
Alexey Andreev
2016-11-28 18:00:32 +03:00
parent ecb498717a
commit fff1af4ff6
7 changed files with 88 additions and 2 deletions
@@ -476,6 +476,12 @@ public class DiagnosticsTestWithJsStdLibGenerated extends AbstractDiagnosticsTes
doTest(fileName);
}
@TestMetadata("overrideOverloadedNativeFunction.kt")
public void testOverrideOverloadedNativeFunction() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithJsStdLib/name/overrideOverloadedNativeFunction.kt");
doTest(fileName);
}
@TestMetadata("packageAndMethod.kt")
public void testPackageAndMethod() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithJsStdLib/name/packageAndMethod.kt");