[FIR] Don't assume types with not found symbol as error types

This commit is contained in:
Dmitriy Novozhilov
2020-09-10 15:47:02 +03:00
parent 7f692be11e
commit 1dc3c93efa
59 changed files with 330 additions and 323 deletions
@@ -3,6 +3,6 @@
internal class Z<K> {
val map = HashMap<String, String>()
inline fun compute(key: String, producer: () -> String): String {
return map.getOrPut(key, ::producer)
return map.<!INAPPLICABLE_CANDIDATE!>getOrPut<!>(key, <!UNRESOLVED_REFERENCE!>::producer<!>)
}
}
}