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

14 lines
203 B
Kotlin
Vendored

//KT-1244 Frontend allows access to private members of other classes
package kt1244
class A {
private var a = ""
}
class B() {
init {
A().<!INVISIBLE_REFERENCE!>a<!> = "Hello"
}
}