Fix a bug which caused class object's visibility to be ignored

This commit is contained in:
Pavel V. Talanov
2012-06-29 21:32:54 +04:00
parent 9878b60462
commit 2975cda4d6
2 changed files with 33 additions and 0 deletions
@@ -0,0 +1,22 @@
package foo
fun test() {
A.d
A.<!INVISIBLE_MEMBER!>f<!>
B.<!INVISIBLE_MEMBER!>c<!>
}
class A() {
public class object {
val d = 3
private object f {
}
}
}
class B() {
private class object {
val c = 3
}
}