Broken setlist with or (and) construct
Opened this issue · 0 comments
toxamin commented
When given the following script:
local t = cond or {255, 255, 255, 255}
print(t[1])
Metaworm's luadec produces the following output:
local r0_0 = cond
if not r0_0 then
r0_0 = {}
local r1_0 = 255
local r2_0 = 255
local r3_0 = 255
local r4_0 = 255
-- setlist for #0 failed
end
print(r0_0[1])