With activated incremental compilation for JS, from time to time (after several refreshes) i get the following error:
kotlinx-coroutines-core.js?9f8c:19657 Error: This marker function should never been called. Looks like compiler did not eliminate it properly. Please, report an issue if you caught this exception.
at throwMarkerError (markerFunctions.js?15ef:75)
at Object.Kotlin.coroutineReceiver (markerFunctions.js?15ef:67)
at Coroutine$AppointmentCreateComp$componentDidMount$lambda.doResume (AtomicFU.common.kt?573b:281)
at Coroutine$AppointmentCreateComp$componentDidMount$lambda.CoroutineImpl.resumeWith_tl1gpc$ (CoroutineImpl.kt?e888:47)
at DispatchedContinuation.DispatchedTask.run (kotlinx-coroutines-core.js?9f8c:2676)
at WindowDispatcher$queue$ObjectLiteral.MessageQueue.process (kotlinx-coroutines-core.js?9f8c:19918)
at eval (kotlinx-coroutines-core.js?9f8c:19887)
I use the Kotlin frontend plugin, and this appears when webpack dev server has reloaded the page after recompilation. Is this may a bug, or have anyone advice how to tweak the configuration to solve that?
Thanks in advance.