InsertKoinIO / InsertKoinIO/koin-compiler-plugin
New 1.0.0 update fails WASM/JS builds
Open
Nobody has claimed this yet.
multiplatform
type:issue
- Dominant language
- Kotlin
- Stars
- 82
- Forks
- 15
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
1.0.0-RC2 worked fine. On 1.0.0 this only happens for WasmJS builds.
java.lang.AssertionError: Different declarations with the same signatures were detected, but no diagnostics will be reported because none of those declarations have any source location info associated with them. This could happen because the declarations came from an external module, or were generated by a compiler plugin. The following declarations have conflicting signatures:
- FUN name:injectedparams_io_liveselect_app_core_data_AdminRepository visibility:public modality:FINAL <> (supabaseClient:io.github.jan.supabase.SupabaseClient) returnType:kotlin.Unit
- FUN name:injectedparams_io_liveselect_app_core_data_AdminRepository visibility:public modality:FINAL <> (supabaseClient:io.github.jan.supabase.SupabaseClient) returnType:kotlin.Unit
at org.jetbrains.kotlin.backend.common.linkage.issues.SignatureClashDetector.reportSignatureClashTo(SignatureClashDetector.kt:71)
at org.jetbrains.kotlin.backend.common.diagnostics.IdSignatureClashDetector.reportSignatureConflict(IdSignatureClashDetector.kt:20)
at org.jetbrains.kotlin.backend.common.diagnostics.IdSignatureClashDetector.reportSignatureConflict(IdSignatureClashDetector.kt:14)
at org.jetbrains.kotlin.backend.common.linkage.issues.SignatureClashDetector.reportErrorsTo(SignatureClashDetector.kt:53)
at org.jetbrains.kotlin.backend.common.serialization.IrModuleSerializer.serializedIrModule(IrModuleSerializer.kt:49)
at org.jetbrains.kotlin.backend.common.serialization.SerializeModuleIntoKlibKt.serializeModuleIntoKlib(serializeModuleIntoKlib.kt:122)
at org.jetbrains.kotlin.ir.backend.js.KlibKt.serializeModuleIntoKlib(klib.kt:512)
at org.jetbrains.kotlin.cli.pipeline.web.WebKlibSerializationPipelinePhase.executePhase(WebKlibSerializationPipelinePhase.kt:42)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the WasmJS build with version 1.0.0 and compare it with 1.0.0-RC2. Inspect the generated declarations for the conflicting AdminRepository signature shown in the trace; done means the 1.0.0 WasmJS build completes without the signature-clash assertion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin, wasm
- Domain
- build-system, compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100