Skip to content

Properly handle _ENV #21

@Ayplow

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

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