Skip to content

uses protected keyword when minimizing #25

Description

@philip-ulrich

when minifying, 1 of the 10's of times I've minified, I got an error. Seems like it may have been due to a protected keyword used as a variable name.

2022-01-20 14:26 Error: or '...' expected near 'do'

SleepManager.getCanSleep = Utils.overwrittenFunction(SleepManager.getCanSleep, function(sleepManager)
    return false
end)
SleepManager.getCanSleep=Utils.overwrittenFunction(SleepManager.getCanSleep,function(do)return false end)

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