FIR: Fix callable references resolution with stub receivers
Use stubReceiver as a receiver for fake calls See issues KT-43358 KT-43359 KT-43378
This commit is contained in:
Vendored
+2
-2
@@ -4,10 +4,10 @@ class A {
|
||||
fun A.extA(x: String) = x
|
||||
|
||||
fun main() {
|
||||
<!UNRESOLVED_REFERENCE!>Int::extInt<!>
|
||||
Int::extInt
|
||||
A::extA
|
||||
|
||||
<!INAPPLICABLE_CANDIDATE!>eat<!>(<!UNRESOLVED_REFERENCE!>Int::extInt<!>)
|
||||
eat(Int::extInt)
|
||||
eat(A::extA)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user