[FIR] Fix missing receiver type if anonymous function without label
This commit is contained in:
@@ -36,9 +36,9 @@ fun A.forEach() = ""
|
||||
fun A.forEach(s: String) {}
|
||||
|
||||
fun test(a: A) {
|
||||
a.forEach() checkType { <!UNRESOLVED_REFERENCE!>_<!><String>() }
|
||||
a.forEach() checkType { _<String>() }
|
||||
|
||||
a.forEach(1) checkType { <!UNRESOLVED_REFERENCE!>_<!><Int>() }
|
||||
a.forEach(1) checkType { _<Int>() }
|
||||
|
||||
a.forEach("")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user