Fix class object visibility check
ExpressionTypingContext now has a scope for visibility checking, which isn't replaced on replaceScope()
This commit is contained in:
@@ -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<!>
|
||||
Reference in New Issue
Block a user