KJS: don't load declarations marked by PlatformDependent annotation

#KT-17450 Fixed
This commit is contained in:
Zalim Bashorov
2017-09-11 22:24:57 +03:00
parent d7ad973843
commit 30c7f633bd
4 changed files with 17 additions and 1 deletions
@@ -54,6 +54,12 @@ public class DiagnosticsTestWithJsStdLibGenerated extends AbstractDiagnosticsTes
doTest(fileName);
}
@TestMetadata("platformDependent.kt")
public void testPlatformDependent() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithJsStdLib/platformDependent.kt");
doTest(fileName);
}
@TestMetadata("runtimeAnnotations.kt")
public void testRuntimeAnnotations() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithJsStdLib/runtimeAnnotations.kt");