You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug exists both in released and unreleased version:
byte is set to mem[idx + offset] at line 4 of the script
in the while loop, the optimizer thinks that idx+offset is unchanged.
But in the idx is changed inside the while loop, after the mem[idx] = mem[idx + offset]
(don't try to figure out the goal of this script, this is a reduced version of my big script)
Hello
(EDIT -> See smaller test case at the bottom)
This bug exists both in released and unreleased version:
byte is set to mem[idx + offset] at line 4 of the script
in the while loop, the optimizer thinks that idx+offset is unchanged.
But in the idx is changed inside the while loop, after the mem[idx] = mem[idx + offset]
(don't try to figure out the goal of this script, this is a reduced version of my big script)
Generated code is
Smaller test case
Wrong at generated code for mem[idx] = mem[idx + 10] in the while loop
Best regards, Mlogjs rocks !
The text was updated successfully, but these errors were encountered: