JS: fix exception in JS front-end when checking JsName that was resolved with errors

This commit is contained in:
Alexey Andreev
2016-11-10 19:08:15 +03:00
parent d2ba25e758
commit 71ef8c4f89
5 changed files with 30 additions and 4 deletions
@@ -386,6 +386,12 @@ public class DiagnosticsTestWithJsStdLibGenerated extends AbstractDiagnosticsTes
doTest(fileName);
}
@TestMetadata("jsNameWithoutParameter.kt")
public void testJsNameWithoutParameter() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithJsStdLib/name/jsNameWithoutParameter.kt");
doTest(fileName);
}
@TestMetadata("methodAndMethod.kt")
public void testMethodAndMethod() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithJsStdLib/name/methodAndMethod.kt");