Files
kotlin-fork/compiler/testData/diagnostics/tests/enum/classObjectOfPrivateEnum.kt
T
Alexander Udalov c2598faa4e Fix class object visibility check
ExpressionTypingContext now has a scope for visibility checking, which isn't
replaced on replaceScope()
2013-12-02 19:56:15 +04:00

10 lines
117 B
Kotlin

// FILE: 1.kt
package a
private enum class E { ENTRY }
// FILE: 2.kt
package b
val e = a.<!INVISIBLE_MEMBER!>E<!>