[FIR] Resolve LHS of type operator call in independent context

#KT-39046 Fixed
This commit is contained in:
Dmitriy Novozhilov
2020-06-30 12:13:53 +03:00
parent c9e423bf64
commit 624b9306f0
10 changed files with 59 additions and 6 deletions
@@ -7,4 +7,4 @@ fun bar(f: () -> Unit) = 1
fun bar(f: (String) -> Unit) = 2
val x1 = <!UNRESOLVED_REFERENCE!>::foo<!> as () -> Unit
val x2 = bar(::foo as (String) -> Unit)
val x2 = bar(<!UNRESOLVED_REFERENCE!>::foo<!> as (String) -> Unit)