5186ba80e2
This is required for the following commit where candidates from the original scope in presence of smart cast will not be ignored if they're the same symbol.
12 lines
226 B
Kotlin
Vendored
12 lines
226 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!>i<!>++
|
|
a.j++
|
|
}
|