FIR: Support inferring PRIVATE_TO_THIS visibility see KT-49875

This commit is contained in:
Mikhail Glukhikh
2022-07-11 18:05:06 +02:00
committed by Space
parent 3b613b3745
commit 83200f8774
10 changed files with 150 additions and 9 deletions
@@ -33728,6 +33728,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/visibility/privateFromInAnonymousObject.kt");
}
@Test
@TestMetadata("privateToThis.kt")
public void testPrivateToThis() throws Exception {
runTest("compiler/testData/diagnostics/tests/visibility/privateToThis.kt");
}
@Test
@TestMetadata("protectedInternal.kt")
public void testProtectedInternal() throws Exception {