FIR: Support checking PRIVATE_TO_THIS visibility #KT-49875 Fixed

This commit is contained in:
Mikhail Glukhikh
2022-07-12 10:25:42 +02:00
committed by Space
parent 83200f8774
commit d16e5e5e50
7 changed files with 38 additions and 17 deletions
@@ -9,6 +9,6 @@ class A<in T>(t: T) {
}
fun foo(a: A<String>) {
val x: String = a.t // Invisible!
val x: String = a.<!INVISIBLE_REFERENCE!>t<!> // Invisible!
}
}