eygraber
05/08/2025, 4:57 PMJsAny will still be needed for WASM. It causes massive headaches when trying to write common code for both JS and WASM, since WASM needs the supertype to be JsAny, and that doesn't exist for JS.James Yox
05/08/2025, 5:13 PMJames Yox
05/08/2025, 5:14 PMArtem Kobzar
05/08/2025, 5:56 PMJsAny, however it will be compiled into the regular Any on the JS side (so you don't need to introduce some new types for this common source set)eygraber
05/08/2025, 6:19 PMJsAny, which will be commonized for JS and WASM? That's gonna solve so many issues I've had 😄Artem Kobzar
05/08/2025, 6:20 PMMichael Paus
05/09/2025, 7:54 AMArtem Kobzar
05/09/2025, 8:21 AMbashor
05/09/2025, 1:44 PMMichael Paus
05/09/2025, 2:15 PMbashor
05/09/2025, 2:39 PMI was wondering why there was no word about this in the blog post above.You know, it’s difficult to cover everything in one post, you always need to make a choice. Also, the post focused on the web (browser) part, while our CM works so far has been focused on WASI needs.
bashor
05/09/2025, 2:41 PMMichael Paus
05/09/2025, 2:43 PMturansky
05/11/2025, 11:37 AMSo in the common source set we'd still extend@eygraber to avoid redundant noise in common we add, which will be commonized for JS and WASM? That's gonna solve so many issues I've had 😄JsAny
JsAny as parent automatically via Seskar plugin for external types without parent types in common source set. 😉
Isolated example you can find here.
Also we build common artifacts in Kotlin Wrappers (like kotlin-browser) with automatic JsAny parent.