FIR: Fix FP error on a call to constructor of a private inner class
Do not check dispatch receiver applicability when checking visibility for containing class of a callee constructor
This commit is contained in:
+6
@@ -33496,6 +33496,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/visibility"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerConstructorThroughSubclass.kt")
|
||||
public void testInnerConstructorThroughSubclass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/visibility/innerConstructorThroughSubclass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("innerNestedAndAnonymousClasses.kt")
|
||||
public void testInnerNestedAndAnonymousClasses() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user