I'm testing 2.1.20-RC and default parameters for c...
# compiler
r
I'm testing 2.1.20-RC and default parameters for composable functions in interfaces. While I'm now able to compile my library with such composable functions I'm still getting
kotlin.NotImplementedError: An operation is not implemented: Unknown file
exception while compiling a client application. This issue https://issuetracker.google.com/issues/165812010 is fixed. Related SO question: https://stackoverflow.com/questions/79148333/composable-throws-kotlin-notimplementederror-an-operation-is-not-implemented. I'm compiling for K/JS and K/WasmJs targets. Anyone tried using this feature with 2.1.20-RC?
d
cc @Pavel Shishkin
r
After a bit more testing I see this feature is working correctly if all the code is in the same module. But it fails when the interface is declared in another module.
p
Hi! it could be tracked in that issue for now it should work for jvm targets, but fails to compile on non-jvm
thank you color 1