`Some::class.qualifiedName` doesn't compile with m...
# webassembly
a
Some::class.qualifiedName
doesn't compile with message "Unsupported [This reflection API is not supported yet in JavaScript]". But it works and returns correct results in Kotlin Playground (Wasm with Kotlin 1.9.20). Wondering, what is the current state of
KClass#qualifiedName
in
jsWasm
?
s
Could you try adding a compiler flag
-Xwasm-kclass-fqn
? I think it would do what you need, but can’t test it now
a
It works, thanks!
h
Is it still working in 1.9.21?
a
Yep, works for me.