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
Type com.squareup.test.AssistedService may only contain one injected constructor. Found: [@Inject com.squareup.test.AssistedService, @dagger.assisted.AssistedInject com.squareup.test.AssistedService]
In KSP however, it yields a less meaningful message
e: [ksp] /var/folders/nv/96k28mh96ml0g6y4gxkpjfcw0000gn/T/Kotlin-Compilation383082458378581560/sources/src/main/java/com/squareup/test/Source0.kt:11: @Assisted parameters can only be used within an @AssistedInject-annotated constructor.
This is with Dagger version 2.47.
The text was updated successfully, but these errors were encountered:
ZacSweers
changed the title
[KSP] Multiple @Inject + @AssistedInject constructors error message regression
[KSP] Multiple @Inject/@AssistedInject constructors error message regression
Aug 3, 2023
ZacSweers
changed the title
[KSP] Multiple @Inject/@AssistedInject constructors error message regression
[KSP] Multiple @Inject + @AssistedInject constructors error message regression
Aug 3, 2023
Given this code snippet
In apt, the error message reads like so
In KSP however, it yields a less meaningful message
This is with Dagger version 2.47.
The text was updated successfully, but these errors were encountered: