You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Task :edu:app:kspDebugKotlin FAILED
e: [ksp] java.lang.IllegalStateException: Not possible
at com.squareup.anvil.compiler.ContributedBindingKt.findHighestPriorityBinding(ContributedBinding.kt:152)
at com.squareup.anvil.compiler.ContributedBindings$Companion.from(ContributedBinding.kt:94)
at com.squareup.anvil.compiler.KspContributionMerger.generateDaggerAnnotation(KspContributionMerger.kt:675)
at com.squareup.anvil.compiler.KspContributionMerger.processClass(KspContributionMerger.kt:326)
at com.squareup.anvil.compiler.KspContributionMerger.processChecked(KspContributionMerger.kt:260)
at com.squareup.anvil.compiler.codegen.ksp.AnvilSymbolProcessor.runInternal(AnvilSymbolProcessing.kt:57)
at com.squareup.anvil.compiler.codegen.ksp.AnvilSymbolProcessor.process(AnvilSymbolProcessing.kt:47)
at com.squareup.anvil.compiler.ClassScanningKspProcessor.processChecked(ClassScanningKspProcessor.kt:83)
at com.squareup.anvil.compiler.codegen.ksp.AnvilSymbolProcessor.runInternal(AnvilSymbolProcessing.kt:57)
at com.squareup.anvil.compiler.codegen.ksp.AnvilSymbolProcessor.process(AnvilSymbolProcessing.kt:47)
I see that there is a test case and it's passing just fine. Maybe it could be related to K2?
The libraries we're using
kotlin: 2.1.10
ksp: 2.1.10-1.0.30 (We're not using KSP2 yet)
anvil-ksp: 0.4.1
dagger: 2.55
The text was updated successfully, but these errors were encountered:
We're facing an error when the binding is duplicated somewhere in the graph. This is reproducible with the code below.
The error
I see that there is a test case and it's passing just fine. Maybe it could be related to K2?
The libraries we're using
The text was updated successfully, but these errors were encountered: