[FIR] Add receiver for lambda in position of default argument

#KT-36905 Fixed
This commit is contained in:
Dmitriy Novozhilov
2020-03-02 11:54:55 +03:00
parent c12fb1e069
commit 7ee125e1ad
10 changed files with 73 additions and 61 deletions
@@ -2,15 +2,15 @@
fun test() {
(fun Foo.() {
<!UNRESOLVED_REFERENCE!>bar<!>()
bar()
(fun Barr.() {
this.<!UNRESOLVED_REFERENCE!>bar<!>()
<!UNRESOLVED_REFERENCE!>bar<!>()
this.bar()
bar()
})
})
(fun Barr.() {
this.<!UNRESOLVED_REFERENCE!>bar<!>()
<!UNRESOLVED_REFERENCE!>bar<!>()
this.bar()
bar()
})
}