[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
@@ -9,7 +9,7 @@ class A {
fun test(a: A) {
fun A.foo() = 4
a.foo() checkType { <!UNRESOLVED_REFERENCE!>_<!><A>() }
a.foo() checkType { _<A>() }
with(a) {
foo() checkType { _<A>() }