[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
@@ -1,5 +0,0 @@
fun test(): Int {
val sets = (1..100).associateWith { (it..10 * it).mapTo(java.util.TreeSet()) { i -> i } }
val set = sets[50] ?: emptySet()
return set.<!UNRESOLVED_REFERENCE!>size<!>
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
fun test(): Int {
val sets = (1..100).associateWith { (it..10 * it).mapTo(java.util.TreeSet()) { i -> i } }
val set = sets[50] ?: emptySet()