Function r-value called more than once in multi-variable assignment
Closed this issue · 0 comments
PhilipRoman commented
The removal of variable-length registers has caused a bug to appear (found on ir_refactor
branch):
function f() print "Hit!"; return 1, 2, 3 end
local a, b, c, d = 0, f()
Expected output:
Hit!
Actual output:
Hit!
Hit!
Hit!