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

Properly handle _ENV #21

Open
Ayplow opened this issue Jul 2, 2019 · 0 comments
Open

Properly handle _ENV #21

Ayplow opened this issue Jul 2, 2019 · 0 comments

Comments

@Ayplow
Copy link

Ayplow commented Jul 2, 2019

_ENV:

  • Is a local in the top level scope
  • Should never be renamed

I've hackily fixed this, but I imagine someone who knows the structure of the code can probably do better.

https://github.com/TomSputz/LuaMinify/blob/master/Scope.lua#L179

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

No branches or pull requests

1 participant