[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
@@ -6,6 +6,7 @@ fun test() {
B.<!INVISIBLE_MEMBER!>D<!>
<!INVISIBLE_MEMBER!>CCC<!>
CCC.<!INVISIBLE_MEMBER!>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
}