Do not check receiver for protected constructor calls

Checks for protected constructors should be performed manually,
because they are rather complex
This commit is contained in:
Denis Zharkov
2016-03-28 16:19:35 +03:00
parent 5bf336474d
commit 5056c43975
6 changed files with 145 additions and 0 deletions
@@ -15470,6 +15470,18 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("constructors.kt")
public void testConstructors() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/scopes/protectedVisibility/constructors.kt");
doTest(fileName);
}
@TestMetadata("constructorsInner.kt")
public void testConstructorsInner() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/scopes/protectedVisibility/constructorsInner.kt");
doTest(fileName);
}
@TestMetadata("innerClassInJava.kt")
public void testInnerClassInJava() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/scopes/protectedVisibility/innerClassInJava.kt");