Internal visibility works the same as public

Fix test data
This change is needed to preserve old behaviour for M9
isFriend() utilities become unused after this change
This commit is contained in:
Pavel V. Talanov
2014-09-26 18:47:27 +04:00
parent cd0551078c
commit 54799b1a34
6 changed files with 23 additions and 22 deletions
@@ -11,11 +11,11 @@ public fun publicInM2Test() {
fun access() {
<error descr="[INVISIBLE_MEMBER] Cannot access 'privateInM1': it is 'private' in 'shared'">privateInM1</error>()
<error descr="[INVISIBLE_MEMBER] Cannot access 'internalInM1': it is 'internal' in 'shared'">internalInM1</error>()
internalInM1()
publicInM1()
<error descr="[INVISIBLE_MEMBER] Cannot access 'privateInM1Test': it is 'private' in 'test'">privateInM1Test</error>()
<error descr="[INVISIBLE_MEMBER] Cannot access 'internalInM1Test': it is 'internal' in 'test'">internalInM1Test</error>()
internalInM1Test()
publicInM1Test()
<error descr="[INVISIBLE_MEMBER] Cannot access 'privateInM2': it is 'private' in 'shared'">privateInM2</error>()