[FIR] Properly handle callable references which were resolved with error

This commit is contained in:
Dmitriy Novozhilov
2021-04-15 14:06:30 +03:00
parent 450fb5e915
commit e869f8091a
74 changed files with 377 additions and 312 deletions
@@ -1,15 +0,0 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_VARIABLE
fun eat(value: Any) {}
fun test(param: String) {
val a = <!UNSUPPORTED!>::param<!>
val local = "local"
val b = <!UNSUPPORTED!>::local<!>
val lambda = { -> }
val g = <!UNSUPPORTED!>::lambda<!>
eat(<!UNSUPPORTED!>::param<!>)
}