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

Align MatchCase end location #76

Merged
merged 2 commits into from
May 31, 2023

Conversation

MichaReiser
Copy link
Contributor

Node's that contain a body (Suite/Vec<Stmt>) compute their end location by taking the end location from the last statement.

This PR aligns this behavior for MatchCase that, to this point, used the @R location.

@MichaReiser MichaReiser requested a review from youknowone May 31, 2023 07:38
@MichaReiser
Copy link
Contributor Author

Whoops sorry, race condition :D

@MichaReiser MichaReiser merged commit fe25708 into RustPython:main May 31, 2023
@MichaReiser MichaReiser deleted the match-case-end-location branch May 31, 2023 07:48
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