https://kotlinlang.org logo
#javascript
Title
# javascript
s

Sean Proctor

01/31/2023, 11:13 PM
I'm getting a bit of a confusing error trying to compile my project:
Copy code
java.lang.IllegalStateException: IdSignature clash: kotlin/Function2.hashCode|3409210261493131192[0]; Existed declaration FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:<http://kotlin.Int|kotlin.Int> [fake_override] clashed with new FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:<http://kotlin.Int|kotlin.Int> [fake_override]
There's no indication of where those conflicts are originating from, so I'm completely lost.
j

jw

01/31/2023, 11:17 PM
Using any compiler plugins? We had to change some of ours for 1.8 since it seemed fake overrides were now being generated automatically
s

Sean Proctor

01/31/2023, 11:24 PM
Nothing custom. The module that is failing is using the Compose plugin. I'm trying to build this project for JS for the first time, so I don't know if earlier Kotlin versions had the same issue.
9 Views