[FIR] Fix missing receiver type if anonymous function without label

This commit is contained in:
simon.ogorodnik
2020-04-07 23:43:42 +03:00
parent d2fd377605
commit f573719cc1
143 changed files with 249 additions and 766 deletions
@@ -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("")