I have successfully upgraded my Kilua WasmJS + JS ...
# webassembly
r
I have successfully upgraded my Kilua WasmJS + JS project from Kotlin
1.9.22+K2
to
2.0.0-Beta4
, but I had to add tons of additional
EXTERNAL_TYPE_EXTENDS_NON_EXTERNAL_TYPE
suppressions to my code to make it work. I'm still impatiently waiting for https://youtrack.jetbrains.com/issue/KT-64214 to get fixed and hope it will allow me to drop all those crazy suppressions ... 😉
My build log is now flooded with messages like this:
Copy code
This code uses error suppression for 'EXTERNAL_TYPE_EXTENDS_NON_EXTERNAL_TYPE'. While it might compile and work, the compiler behavior is UNSPECIFIED and WON'T BE PRESERVED. Please report your use case to the Kotlin issue tracker instead: <https://kotl.in/issue>
Can I perhaps suppress this as well somehow? 😉
I also see this warning while testing:
Copy code
> Task :kilua:compileTestDevelopmentExecutableKotlinWasmJs
w: KLIB resolver: The same 'unique_name=dev.kilua:kilua' found in more than one library: /home/rjaros/git/kilua/kilua/build/classes/kotlin/wasmJs/main, /home/rjaros/git/kilua/kilua/build/libs/kilua-wasm-js-0.0.1.klib
what does it mean?