FIR: Support type aliases to function types in resolution

This commit is contained in:
Denis Zharkov
2020-02-05 15:23:02 +03:00
parent 7249d2f889
commit 6f6281a3f3
15 changed files with 172 additions and 104 deletions
@@ -16,9 +16,9 @@ fun buildB() {
val a2 = applyRestrictions2()
val a3 = applyRestrictions3("foo")
B.Builder().<!UNRESOLVED_REFERENCE!>a1<!>()
B.Builder().<!UNRESOLVED_REFERENCE!>a2<!>()
B.Builder().<!UNRESOLVED_REFERENCE!>a3<!>()
B.Builder().a1()
B.Builder().a2()
B.Builder().a3()
}
// additional example from #KT-34820
@@ -16,7 +16,7 @@ fun buildB() {
val a2 = applyRestrictions2()
val a3 = applyRestrictions3("foo")
B.Builder().<!UNRESOLVED_REFERENCE!>a1<!>()
B.Builder().<!UNRESOLVED_REFERENCE!>a2<!>()
B.Builder().<!UNRESOLVED_REFERENCE!>a3<!>()
B.Builder().a1()
B.Builder().a2()
B.Builder().a3()
}