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

Compiler: fix vardecl optim #946

Merged
merged 6 commits into from
Jan 1, 2020
Merged

Compiler: fix vardecl optim #946

merged 6 commits into from
Jan 1, 2020

Conversation

hhugo
Copy link
Member

@hhugo hhugo commented Dec 23, 2019

Attempt to fix the --enable vardecl option.

  • add some tests

partially fix #945

@hhugo
Copy link
Member Author

hhugo commented Dec 23, 2019

cc @jordwalke

@jordwalke
Copy link

Do you believe this is not a complete fix?

@hhugo
Copy link
Member Author

hhugo commented Dec 23, 2019

This might be working (or not) but I'd like to spend more time on this.

@jordwalke
Copy link

It does seem to be working fine when testing! Thank you @hhugo

@jordwalke
Copy link

Seems worthwhile merging since it is strictly better than what master branch has.

@hhugo hhugo merged commit 729d5e9 into master Jan 1, 2020
@hhugo hhugo deleted the vardecl branch January 1, 2020 10:23
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.

[FEATURE REQUEST] - Variable hoisting in decision trees.
2 participants