Files
kotlin-fork/compiler/testData/diagnostics/tests/scopes/kt1738.fir.kt
T

11 lines
279 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.<!INAPPLICABLE_CANDIDATE, INAPPLICABLE_CANDIDATE!>i<!><!UNRESOLVED_REFERENCE!>++<!>
a.j++
}