[FIR] Don't assume types with not found symbol as error types
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user