Why the following code in `IntentionTestGererated`...
# kontributors
s
Why the following code in
IntentionTestGererated
gives me "Unresolved reference: toMutableMap” error?
Copy code
// WITH_RUNTIME
val foo = mutableMapOf(1 to 2).toMutableMap()<caret>
Is this because
toMutableMap()
is defined in
kotlin.collections.MapsKt
? The following code does not give me an error.
Copy code
// WITH_RUNTIME
val foo = setOf(1, 2, 3).toSet()<caret>