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

12 lines
247 B
Kotlin
Vendored

//KT-1738 Make it possible to define visibility for constructor parameters which become properties
package kt1738
class A(private var i: Int, var j: Int) {
}
fun test(a: A) {
a.<!INVISIBLE_REFERENCE, INVISIBLE_REFERENCE!>i<!>++
a.j++
}