Files
kotlin-fork/compiler/testData/diagnostics/tests/scopes/kt1738.kt
T
Andrey Breslav 3d8d92c7d3 JetDiagnosticsTest migrated to TestGenerator
- test data files renamed from *.jet to *.kt
2012-07-10 14:48:11 +04:00

11 lines
222 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_MEMBER!>i<!>++
a.j++
}