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 gensym leak at toplevel #350

Merged
merged 1 commit into from
May 29, 2015

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented May 28, 2015

This closes #251.

Unshifting declarations during the walk phase is too early, it needs to be done during generateSymbols. But the existing generateSymbols never visits the topmost node.

michaelficarra added a commit that referenced this pull request May 29, 2015
@michaelficarra michaelficarra merged commit 7f87fe8 into michaelficarra:master May 29, 2015
@michaelficarra
Copy link
Owner

Wow, thanks.

@ef4
Copy link
Contributor Author

ef4 commented May 29, 2015

This is all part of my grand scheme to make this into a coffeescript-to-es6 compiler. 😄

@ef4 ef4 deleted the toplevel-gensyms branch May 29, 2015 00:29
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.

GenSyms at program level leak globals
2 participants