[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
@@ -2,7 +2,7 @@
var x
get() = 1
set(q) {
q checkType { <!UNRESOLVED_REFERENCE!>_<!><Int>() }
q checkType { _<Int>() }
}
var noSetter
@@ -10,8 +10,8 @@ var noSetter
fun foo() {
x checkType { <!UNRESOLVED_REFERENCE!>_<!><Int>() }
noSetter checkType { <!UNRESOLVED_REFERENCE!>_<!><Int>() }
x checkType { _<Int>() }
noSetter checkType { _<Int>() }
x = 1
x = ""