Fix visibility check for dynamic members within protected method

#KT-11857 Fixed
This commit is contained in:
Denis Zharkov
2016-06-20 20:02:10 +03:00
parent 4a7a04e366
commit fe5fe63f0a
5 changed files with 25 additions and 1 deletions
@@ -199,6 +199,12 @@ public class DiagnosticsTestWithJsStdLibGenerated extends AbstractDiagnosticsTes
doTest(fileName);
}
@TestMetadata("protected.kt")
public void testProtected() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithJsStdLib/dynamicTypes/protected.kt");
doTest(fileName);
}
@TestMetadata("reified.kt")
public void testReified() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithJsStdLib/dynamicTypes/reified.kt");