Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

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

Merged
JohnnyMorganz merged 4 commits intomainfrom
check-last-stmt-simple
Nov 17, 2024
Merged

collapse_simple_stmt: check if return expressions are "simple"#923
JohnnyMorganz merged 4 commits intomainfrom
check-last-stmt-simple

Conversation

@JohnnyMorganz
Copy link
Owner

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

Closes #898

@github-actions
Copy link
Contributor

Repo Comparison Test

No diff produced

@JohnnyMorganz JohnnyMorganz merged commit d8f820e into main Nov 17, 2024
@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