[FIR] Handle unresolved callable references more correctly

This commit is contained in:
Mikhail Glukhikh
2020-01-21 17:35:50 +03:00
parent 97d8f3fa4b
commit e644edfe84
38 changed files with 105 additions and 90 deletions
@@ -7,5 +7,5 @@ fun f(x: KClass<out Int>) {}
fun test() {
f(42::class)
f((40 + 2)::class)
42::toInt
<!UNRESOLVED_REFERENCE!>42::toInt<!>
}