[FIR] Fix missing receiver type if anonymous function without label
This commit is contained in:
+1
-1
@@ -11,6 +11,6 @@ fun acceptA(a: A) {
|
||||
}
|
||||
|
||||
fun main(i: I<*>) {
|
||||
i.foo() checkType { <!UNRESOLVED_REFERENCE!>_<!><A?>() }
|
||||
i.foo() checkType { _<A?>() }
|
||||
<!INAPPLICABLE_CANDIDATE!>acceptA<!>(i.foo()) // i.foo() should be nullable but isn't
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user