FIR: Support checking PRIVATE_TO_THIS visibility #KT-49875 Fixed
This commit is contained in:
@@ -15,19 +15,19 @@ class Test<in I, out O> {
|
||||
this.i = getT()
|
||||
with(Test<I, O>()) {
|
||||
i = getT() // resolved to this@Test.i
|
||||
this.i = getT()
|
||||
this@with.i = getT()
|
||||
this.<!INVISIBLE_REFERENCE!>i<!> = getT()
|
||||
this@with.<!INVISIBLE_REFERENCE!>i<!> = getT()
|
||||
this@Test.i = getT()
|
||||
}
|
||||
}
|
||||
|
||||
fun <I, O> test(t: Test<I, O>) {
|
||||
t.i = getT()
|
||||
t.<!INVISIBLE_REFERENCE!>i<!> = getT()
|
||||
}
|
||||
|
||||
companion object {
|
||||
fun <I, O> test(t: Test<I, O>) {
|
||||
t.i = getT()
|
||||
t.<!INVISIBLE_REFERENCE!>i<!> = getT()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user