[FIR] Don't assume types with not found symbol as error types
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
// !FULL_JDK
|
||||
|
||||
fun test(map: MutableMap<Int, MutableMap<Int, Int>>) {
|
||||
map.getOrPut(1, ::mutableMapOf)
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
FILE: getOrPutAmbiguity.kt
|
||||
public final fun test(map: R|kotlin/collections/MutableMap<kotlin/Int, kotlin/collections/MutableMap<kotlin/Int, kotlin/Int>>|): R|kotlin/Unit| {
|
||||
R|<local>/map|.R|kotlin/collections/getOrPut|<R|kotlin/Int|, R|kotlin/collections/MutableMap<kotlin/Int, kotlin/Int>|>(Int(1), ::R|kotlin/collections/mutableMapOf<kotlin/Int, kotlin/Int>|)
|
||||
}
|
||||
Reference in New Issue
Block a user