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.
14 lines
203 B
Kotlin
Vendored
14 lines
203 B
Kotlin
Vendored
//KT-1244 Frontend allows access to private members of other classes
|
|
|
|
package kt1244
|
|
|
|
class A {
|
|
private var a = ""
|
|
}
|
|
|
|
class B() {
|
|
init {
|
|
A().<!INVISIBLE_REFERENCE!>a<!> = "Hello"
|
|
}
|
|
}
|