-
Notifications
You must be signed in to change notification settings - Fork 19
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
Stub files can no longer undo the class @NonNull
annotation on, e.g., Optional
#321
Comments
No worries, and thanks! (Also: Ooo, I wonder if #305 helps with any of the challenges we've seen when trying to read |
Yes, #305 should fix parsing annotations e.g. in |
Co-authored-by: Werner Dietl <[email protected]>
This does fix our issue. Thanks! |
Inside Google, we (maybe intentionally, maybe not) have a stub for
java.util.Optional
that undoes the class@NonNull
annotation on that type, using the approach from itsCFComment
. As part of the upgrade from 3.21.4-eisop1 to 3.24.0-eisop1, that stops working. I notice that typetools 3.24.0 still works, so I'm wondering if this is fallout from the eisopextends @Nullable Object
fixes, similar to #204, or from the eisop stub-file fix of #247. I haven't done any binary searching across releases, though, let alone commits. [edit: After writing that, I started withgit bisect
. But I ran into trouble because the build process doesn't automatically know which commit ofstubparser
to check out when building older versions.]@amalloy
The text was updated successfully, but these errors were encountered: