Using Kotlin 1.9.0 with compose 1.5.0-dev1114 caus...
# compose-web
z
Using Kotlin 1.9.0 with compose 1.5.0-dev1114 causes my build to fail with this this error Presence.Activity.Assets is annotated with Serializable
Copy code
e: java.lang.IllegalStateException: IdSignature clash: util/Presence.Activity.Assets|null[0]; Existed declaration CLASS CLASS name:Assets modality:FINAL visibility:public [data] superTypes:[kotlin.Any] clashed with new CLASS CLASS name:Assets modality:FINAL visibility:public [data] superTypes:[kotlin.Any]
I'm not sure what the direct cause of the issue is, whether it be kotlin serialization, kotlin/js, or compose multiplatform
j
We're also seeing this. I believe it's serialization interacting poorly with the JS compiler.
m
Have you also updated the serialization plugin to 1.9.0? Just asking because I stumbled into that too.
z
yes
j
also yes
Did you ever get around this? I'm circling back now to try to get past it again. If not will report a minimal reproducer in an issue.
c
Looping back around on this: it appears to be fixed in 1.5.0-rc01.