Files
kotlin-fork/compiler/testData/diagnostics/tests/imports/ImportPrivateMemberFromOtherFile.fir.kt
T
Kirill Rakhman 38f0ac332d [FIR] Report INVISIBLE_REFERENCE in imports
#KT-55405 Fixed
2023-03-31 12:54:30 +00:00

27 lines
356 B
Kotlin
Vendored

// FILE: A.kt
class A {
private class Nested {
object O1
}
}
// FILE: B.java
public class B {
private static class JC {
public static class JC1 {
}
}
}
// FILE: C.kt
import A.Nested.*
import B.<!INVISIBLE_REFERENCE!>JC<!>.JC1
fun test() {
<!INVISIBLE_REFERENCE!>O1<!>
<!INVISIBLE_REFERENCE!>JC1<!>()
}