-
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
[KSP] [KSP2] unexpected jvm signature V when processing in KSP2 #4505
Comments
Hi, @ZacSweers , this should have been fixed with https://android-review.googlesource.com/c/platform/frameworks/support/+/3314733. A future Dagger release should include the fix. |
Great! Between this and supporting Kotlin 2.1.0 (which is in RC but dagger apt is currently incompatible), it would be quite helpful if y'all would consider getting another release out. Sounds like dagger at HEAD would be fully compatible with K2 kapt and KSP |
I don't believe this is fixed on HEAD. Just tested the latest snapshot and the same issue occurs |
Or is the link above in androidx but not yet consumed in dagger? |
Yes, sorry about the confusion and the internal link. It still needs to be consumed in Dagger. I've updated the link. |
Actually the story is unfortunately more complicated. We actually don't support KSP2 right now. See #2349 (comment) for details, but we're right now still dealing with known issues with KSP2 and trying to make sure our own tests pass with KSP2. We're hoping to make more progress soon (several KSP2 issues have recently been fixed) but we still aren't in a spot where you should expect things to work. I know this is not what you probably want to hear, but a lot of it hasn't been in our control. It is however our top priority to get KSP2 working. |
We ran into an odd case with KSP2 when assisted injecting an enum class from another module into a class
This seems like a fairly simple case, I'm not super sure where to look. This is with Kotlin 2.0.21 and KSP 2.0.21-1.0.27. It's unfortunately nearly impossible for me to debug directly because all these APIs are still shaded into
dagger.spi.internal.shaded.androidx.room.compiler.processing.javac.kotlin
Trace
Cause
The text was updated successfully, but these errors were encountered: