Files
kotlin-fork/compiler/testData/diagnostics/tests/scopes/kt1942.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

20 lines
260 B
Kotlin
Vendored

//FILE:a/C.java
//KT-1942 Package local members from Java are visible in subclasses
package a;
public class C {
int myValue;
}
//FILE:d.kt
package d
import a.C
class A : C() {
fun test() {
val v = <!INVISIBLE_REFERENCE!>myValue<!>
}
}