Skip to content

Properly handle _ENV #21

Description

@Ayplow

_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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions