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

collapse_simple_stmt: check if return expressions are "simple" #923

Merged
merged 4 commits into from
Nov 17, 2024

Conversation

JohnnyMorganz
Copy link
Owner

Right now, check if the return expression doesn't contain another function definition

Closes #898

Copy link
Contributor

Repo Comparison Test

No diff produced

@JohnnyMorganz JohnnyMorganz merged commit d8f820e into main Nov 17, 2024
19 checks passed
@JohnnyMorganz JohnnyMorganz deleted the check-last-stmt-simple branch November 17, 2024 16:47
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.

collapse_simple_statement collapses functions inside conditionals
1 participant