-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to inject @JvmInline value classes #2930
Comments
could be related to #2855 |
I think this will likely be something that needs KSP as we probably will just see |
Sounds good, thank you! |
Is there a bug I can track related to "when KSP is done?" |
The alpha version of KSP support was released with dagger 1.48, so I tested this again:
Just adding this provider (no requesters yet) ksp throws an error:
|
To clarify, KSP is a prerequisite to fixing this, but is not itself the solution. |
@Chang-Eric is this fixed with the current KSP implementation? |
It is not fixed, as mentioned above. To clarify in case it is causing confusion, the current behavior is mixed, some cases work, some don't. This is because this is the behavior that existed due to kapt. |
Injecting a
@JvmInline value class
fails in the following manner:Code:
Fails with:
Not sure if this is a bug, or if it's just impossible to support with
kapt
(i.e. needs something like KSP) 🤔. Thanks!The text was updated successfully, but these errors were encountered: