Files
kotlin-fork/compiler/testData/diagnostics/tests/scopes/kt1738.fir.kt
T
2023-01-31 08:39:43 +00:00

12 lines
244 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_SETTER!>i<!>++
a.j++
}