FYI to people seeing this issue on Desktop, it missing actual implementation in the Desktop source set. A better error message would be great from the compiler here.
org.jetbrains.kotlin.backend.common.CompilationException: Back-end: Please report this problem
https://kotl.in/issue
Some.kt👎-1
Details: Internal error in file lowering: java.lang.IllegalStateException: should not be called
at org.jetbrains.kotlin.utils.addToStdlib.AddToStdlibKt.shouldNotBeCalled(addToStdlib.kt:323)
at org.jetbrains.kotlin.utils.addToStdlib.AddToStdlibKt.shouldNotBeCalled$default(addToStdlib.kt:322)
at org.jetbrains.kotlin.ir.symbols.impl.IrFakeOverrideSymbolBase.getOwner(IrFakeOverrideSymbol.kt:41)