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
are problematic and cause surprising errors. As @bcorso highlighted here Kapt seems to skip generating stubs for these method names. It would be great if Dagger could detect such scenarios.
The text was updated successfully, but these errors were encountered:
There is a feature request to prevent users from using Java keywords / identifiers when using KAPT but it seems it never got enough traction to be done. https://youtrack.jetbrains.com/issue/KT-25518
The current KAPT 'strictMode' does not error out when KAPT skips generating stubs due to usage of Java keywords.
Detecting this seems decently expensive, it means we would need to validate all elements with the information of the Metadata, looking for missing ones. However, this seem like an issue KAPT could prevent more easily.
Method names like
are problematic and cause surprising errors. As @bcorso highlighted here Kapt seems to skip generating stubs for these method names. It would be great if Dagger could detect such scenarios.
The text was updated successfully, but these errors were encountered: