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
The issue here was that `AnnotationExpression` was using `XType#getTypeName()` resulting in `GenericType<?>.class` in generated code. This CL fixes the issue by using `XTypeElement#getClassName()` instead so that the generated code results in `GenericType.class` instead.
See #4055.
Fixes#4055
RELNOTES=Fixes#4055:
PiperOrigin-RevId: 562037303
The issue here was that `AnnotationExpression` was using `XType#getTypeName()` resulting in `GenericType<?>.class` in generated code. This CL fixes the issue by using `XTypeElement#getClassName()` instead so that the generated code results in `GenericType.class` instead.
See #4055.
Fixes#4055
RELNOTES=Fixes#4055:
PiperOrigin-RevId: 562037303
This can be reproduced with the following code, when using the KSP proccessor (dagger version
2.48
)This produces the following incorrect method:
Notably
GenericThing<?>.class
should beGenericThing.class
.Using kapt will generate the correct code:
The text was updated successfully, but these errors were encountered: