[FIR] Check standalone companion object qualifiers are visible

This commit is contained in:
Brian Norman
2023-09-06 18:25:21 -05:00
committed by Space Team
parent 2603077db9
commit e6669b51d4
11 changed files with 97 additions and 17 deletions
@@ -3,9 +3,10 @@ package foo
fun test() {
A.d
A.Companion.<!INVISIBLE_REFERENCE!>f<!>
B.D
CCC
B.<!INVISIBLE_REFERENCE!>D<!>
<!INVISIBLE_REFERENCE!>CCC<!>
CCC.<!INVISIBLE_REFERENCE!>classObjectVar<!>
E.F.G
}
class A() {
@@ -28,3 +29,10 @@ class CCC() {
val classObjectVar = 3
}
}
class E {
class F {
companion object G
}
private companion object
}