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
Promote warnings to errors in extract() #4588
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the return type still int|null
? If it is no longer nullable, the proto comment should be updated as well as the stub signature.
5d9b905
to
f637118
Compare
I don't think it can return null any more so I've updated the stubs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, please drop the extra variation tests. The only thing we need is to check the invalid prefix case in the existing error test, the rest just duplicates existing tests.
Yeah I forgot those were covered in the normal error ones. Removed them and merged as 70e604e |
Split from #4566