Skip to content
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

Update conformance test sources to allow some errors in additional positions #1807

Merged
merged 5 commits into from
Jul 16, 2024

Conversation

yangdanny97
Copy link
Contributor

Also mentioned in the following PR comment: #1734 (comment)

Pyre complains on the line where an invalid annotation that got split across lines starts, but the tests insist that the error ought to be thrown in a nested sub-expression.

This PR allows some errors to appear in other positions, using the error tagging system to group the positions that an error can appear in.

cc @stroxler

@erictraut erictraut merged commit 5ef8643 into python:main Jul 16, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants