FIR: Make resolution logic for local classes the same as for top-level

Run different phases through common transformers sequentially
It should make code more reusable and may help with avoid common bugs
This commit is contained in:
Denis Zharkov
2020-03-24 13:23:26 +03:00
parent 8ea888a111
commit d869ae7826
11 changed files with 121 additions and 78 deletions
@@ -1,5 +1,5 @@
// !WITH_NEW_INFERENCE
fun bar() {
fun <T: T?> foo() {}
foo()
<!INAPPLICABLE_CANDIDATE!>foo<!>()
}