Files
kotlin-fork/compiler/testData/diagnostics/tests/PrivateFromOuterPackage.fir.kt
T
pyos e6d923f65c FIR: rename HIDDEN to INVISIBLE_REFERENCE
Some of them should be INVISIBLE_MEMBER though
2021-04-21 16:18:21 +03:00

26 lines
341 B
Kotlin
Vendored

// FILE: a.kt
package outer
private fun a() {}
private class B
// FILE: b.kt
package outer.p1
import outer.a
fun use() {
<!INVISIBLE_REFERENCE!>a<!>()
outer.<!INVISIBLE_REFERENCE!>B<!>()
}
// FILE: c.kt
package outer.p1.p2
import outer.a
fun use() {
<!INVISIBLE_REFERENCE!>a<!>()
outer.<!INVISIBLE_REFERENCE!>B<!>()
}