Skip to content

Conversation

@Taraflex
Copy link

@Taraflex Taraflex commented Feb 1, 2023

Ast traversing is buggy.
I fix some errors and mark with "todo" some suspicious places for which I didn't come up with test cases.

All places with return node; and return; require checks.

I think it would be a good idea to rewrite the tree traversal so that there is only one return for the function. This would help to avoid errors related to forgetting to traversing child nodes.

@Taraflex
Copy link
Author

Taraflex commented Feb 1, 2023

The last commit should not have been included in the pull request. My mistake.

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.

1 participant