600d135786
Note that this is not relevant for LOCAL/INHERITED visibilities:
- for LOCAL visibility it's impossible to have a qualifier
- INHERITED is an intermediate visibility, we enhance it later
(see resolveUnknownVisibilityForMember)
#KT-20356 Fixed
16 lines
210 B
Kotlin
Vendored
16 lines
210 B
Kotlin
Vendored
// FILE: A.kt
|
|
|
|
import B.<!INVISIBLE_REFERENCE!>foo<!>
|
|
|
|
fun test() {
|
|
<!INVISIBLE_MEMBER!>foo<!>
|
|
}
|
|
|
|
// FILE: B.kt
|
|
object B : C<String>()
|
|
|
|
// FILE: C.kt
|
|
|
|
open class C<T> {
|
|
private var foo: String = "abc"
|
|
} |