mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
ExpressionTypingContext now has a scope for visibility checking, which isn't replaced on replaceScope()
16 lines
348 B
Kotlin
16 lines
348 B
Kotlin
class A {
|
|
private class object {
|
|
class B {
|
|
class C {
|
|
class object {
|
|
fun foo() {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fun f1() = <!INVISIBLE_MEMBER!>A<!>.B.<!INVISIBLE_MEMBER!>C<!>
|
|
|
|
fun f2() = <!INVISIBLE_MEMBER!>A<!>.B.<!INVISIBLE_MEMBER!>C<!>.<!INVISIBLE_MEMBER!>foo<!>()
|