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

fix: handle immediately nested functions #160

Merged
merged 2 commits into from
Sep 8, 2023

Conversation

justin-schroeder
Copy link
Contributor

The regular expression (I 😔) introduced in 0.2.0 was over-eager and would not match immediately-nested functions like:

foo(bar())

Where both foo and bar were part of the function list.

This PR adds a test for this condition which fails without the included fix.

@danielroe danielroe changed the title Fix: immediately nested functions fix: handle immediately nested functions Sep 8, 2023
@danielroe danielroe merged commit a86dba4 into danielroe:main Sep 8, 2023
6 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