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

DCE too aggressive #4197

Closed
back2dos opened this Issue May 9, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@back2dos
Member

back2dos commented May 9, 2015

Sorry for reporting this so late, but I always thought this was caused by some convoluted use of macros or what not. However I found this to reproduce the problem:

http://try.haxe.org/#B2CF6

Giving me:

Uncaught ReferenceError: js_Boot is not defined,http://try.haxe.org/program/CAC32/run?r=0.2726341183297336,line:21

In complex projects I sometimes find myself with Reflect being removed even though it is explicitly used. Disabling DCE usually fixes the issue.

@Simn

This comment has been minimized.

Show comment
Hide comment
@Simn

Simn May 9, 2015

Member

I'm pretty sure this has been fixed by 15e8bb3

Member

Simn commented May 9, 2015

I'm pretty sure this has been fixed by 15e8bb3

@Simn Simn closed this May 9, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment