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

close #1338 where possible #1360

Merged
merged 3 commits into from Mar 21, 2023
Merged

close #1338 where possible #1360

merged 3 commits into from Mar 21, 2023

Conversation

fabiosantoscode
Copy link
Collaborator

#1338 revealed that fixing fixed values where Defun is involved made a lot of code larger!

This attempts to fix it where possible. Terser doesn't have flow analysis, but it can tell if the Defun in question was referenced before a certain variable exists.

So that's the fix here. If func_name is found before used_in_func, fixed disappears.

@fabiosantoscode fabiosantoscode merged commit 21600d9 into master Mar 21, 2023
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.

None yet

1 participant