Refactoring & clarification: implement new FIR tower resolver

This commit is contained in:
Mikhail Glukhikh
2020-01-10 18:58:42 +03:00
parent a3ab763f0b
commit 14204a842a
125 changed files with 1804 additions and 1085 deletions
@@ -6,11 +6,11 @@ class B
fun test(a: A, b: B) {
with(b) {
a.foo() // here must be error, because a is not extension receiver
a.<!INAPPLICABLE_CANDIDATE!>foo<!>() // here must be error, because a is not extension receiver
a.foo(this)
(a.foo)()
<!INAPPLICABLE_CANDIDATE!>(a.foo)()<!>
(a.foo)(this)
}