LuaMinify icon indicating copy to clipboard operation
LuaMinify copied to clipboard

uses protected keyword when minimizing

Open philip-ulrich opened this issue 3 years ago • 0 comments

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)

philip-ulrich avatar Jan 20 '22 15:01 philip-ulrich