Piotr Krzemiński
09/29/2021, 9:42 AMUncaught TypeError: e.defineModule is not a function. When looking into my bundle, e.defineModule occurs only once in such context:
e.defineModule("kotlinx-serialization-kotlinx-serialization-core-jsLegacy",t)
Indeed I want to use kotlinx.serialization. This happens on legacy JS backend, and on IR some misterious ClassCastException occurs at runtime (maybe more changes would be required to make the project work with IR).Piotr Krzemiński
09/29/2021, 9:45 AMPiotr Krzemiński
10/01/2021, 7:11 AMorg.jetbrains.kotlinx:kotlinx-serialization-json from 1.0.0 (pretty old) to 1.3.0