FIR: fix use-site file in supertypes resolution

manifested in the IC tests by a seemingly redundant lookup,
although theoretically may lead to more severe issues.
Also fixes lookup recording ignoring logic, since the old
one may break with the new us-site file calculation.
#KT-55195 fixed
This commit is contained in:
Ilya Chernikov
2023-01-24 12:29:03 +01:00
committed by Space Team
parent dcbcc8b684
commit 62f2a09d70
7 changed files with 49 additions and 15 deletions
@@ -3,7 +3,7 @@ private class C {
companion object
}
private typealias TA = <!INVISIBLE_REFERENCE!>C<!>
private typealias TA = C
private val test1: <!INVISIBLE_REFERENCE!>C<!> = <!INVISIBLE_REFERENCE!>C<!>()
private val test1co: <!INVISIBLE_REFERENCE!>C.Companion<!> = <!INITIALIZER_TYPE_MISMATCH, INVISIBLE_REFERENCE, NO_COMPANION_OBJECT!>C<!>