FE 1.0: introduce PrivateInFile effective visibility #KT-20094 Fixed

This commit is contained in:
Mikhail Glukhikh
2021-04-05 13:33:25 +03:00
parent addfa27980
commit 4bd44fa61b
16 changed files with 187 additions and 30 deletions
@@ -29,7 +29,7 @@ Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Cannot access 'A': it is private in file
'public' subclass exposes its 'private' supertype A
'public' subclass exposes its 'private-in-file' supertype A
================ Step #2 =================
@@ -31,7 +31,7 @@ Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Cannot access 'A': it is private in file
'public' subclass exposes its 'private' supertype A
'public' subclass exposes its 'private-in-file' supertype A
================ Step #2 =================
@@ -29,7 +29,7 @@ Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Cannot access 'A': it is private in file
'public' subclass exposes its 'private' supertype A
'public' subclass exposes its 'private-in-file' supertype A
Cannot access 'A': it is private in file
================ Step #2 =================
@@ -31,7 +31,7 @@ Exit code: ABORT
------------------------------------------
COMPILATION FAILED
Cannot access 'A': it is private in file
'public' subclass exposes its 'private' supertype A
'public' subclass exposes its 'private-in-file' supertype A
Cannot access 'A': it is private in file
================ Step #2 =================