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
Before processing an element (e.g. an @Inject-annotated constructor), Dagger validates that all types referenced in the element are valid (i.e. they exist on the class path).
However, when processing with Dagger's KSP processor we get an unexpected error when a method has a throws type that is a type variable (compared to Javac/KAPT where there is no error). For example:
classMyClass {
// Dagger’s KSP processor will fail due to <ERROR TYPE> for type variable T.
<TextendsThrowable> voidmethod() throwsT {}
}
Before processing an element (e.g. an
@Inject
-annotated constructor), Dagger validates that all types referenced in the element are valid (i.e. they exist on the class path).However, when processing with Dagger's KSP processor we get an unexpected error when a method has a
throws
type that is a type variable (compared to Javac/KAPT where there is no error). For example:Fixing this issue is currently blocked by google/ksp#1460.
The text was updated successfully, but these errors were encountered: