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

uses protected keyword when minimizing #25

Open
philip-ulrich opened this issue Jan 20, 2022 · 0 comments
Open

uses protected keyword when minimizing #25

philip-ulrich opened this issue Jan 20, 2022 · 0 comments

Comments

@philip-ulrich
Copy link

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)
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