Fix class object visibility check

ExpressionTypingContext now has a scope for visibility checking, which isn't
replaced on replaceScope()
This commit is contained in:
Alexander Udalov
2013-11-22 17:03:34 +04:00
parent d82e8b9a35
commit c2598faa4e
5 changed files with 24 additions and 7 deletions
@@ -0,0 +1,9 @@
// FILE: 1.kt
package a
private enum class E { ENTRY }
// FILE: 2.kt
package b
val e = a.<!INVISIBLE_MEMBER!>E<!>