Specifically related to bit manipulation in this particular case
Lua Version: 5.3
Before minification
return ((x or -1) & (y or -1)) & 0xFFFFFFFF
--[[
let x = 1021, y = 251
Result = 249
]]
After minification
return c or-1&d or-1&0xFFFFFFFF
--[[
let x = 1021, y = 251
Result = 1021
]]
Expected result
-- Parenthesis required for order of operations!!!
return((c or-1)&(d or-1))&0xFFFFFFFF
Lua Version: 5.3
Before minification
After minification
Expected result