Alex
12/10/2021, 9:09 AMjava.lang.IllegalStateException: Symbol for kotlin.collections/mutableMapOf|-4813910536206556932[0] is unbound
at org.jetbrains.kotlin.ir.symbols.impl.IrBindablePublicSymbolBase.getOwner(IrPublicSymbolBase.kt:52)
...
nschulzke
12/15/2021, 10:24 PMnschulzke
12/15/2021, 10:41 PMjava.lang.IllegalStateException: Symbol for kotlin.collections/mutableMapOf|-4813910536206556932[0] is unbound
at org.jetbrains.kotlin.ir.symbols.impl.IrBindablePublicSymbolBase.getOwner(IrPublicSymbolBase.kt:52)
at org.jetbrains.kotlin.ir.symbols.impl.IrSimpleFunctionPublicSymbolImpl.getOwner(IrPublicSymbolBase.kt:74)
at androidx.compose.compiler.plugins.kotlin.lower.LiveLiteralTransformer.visitCall(LiveLiteralTransformer.kt:663)
...
nschulzke
12/16/2021, 12:06 AMval x = mutableMapOf("something" to "something").apply {
if (bool) {
put("another", "thing")
}
}
To this:
val x = mutableMapOf()
x["something"] = "something"
if (bool) {
x["another"] = "thing"
}
If I were you I'd check all your uses of mutableMapOf
, particularly in places that are nested deeply (this particular case was inside a function inside a when
block).Alex
12/16/2021, 8:27 AMnschulzke
12/16/2021, 4:58 PMwithContext(<http://Dispatchers.IO|Dispatchers.IO>)
block.