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

Python - Fixed nested return + yield call #190

Merged
merged 3 commits into from
Aug 2, 2024

Conversation

ColinKennedy
Copy link
Contributor

The validate_direct_returns function can set nodes[i.Return] to nil. When that happens, validate_bare_returns fails. This PR fixes that + adds a unittest to make sure it doesn't come back.

@ColinKennedy ColinKennedy changed the title Fixed return + yield call Python - Fixed nested return + yield call Aug 1, 2024
@danymat danymat merged commit f9040ed into danymat:main Aug 2, 2024
1 of 4 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