Wrong source location w/ JSLigo `while` loop
@DK318 provided this example:
const main = ([_, s] : [unit, int]) : [list<operation>, int] => {
let i : int = 0;
let acc : int = 0;
while (i <= s) {
acc = acc + i;
i = i + 1;
}
return [(list([]) as list<operation>), acc];
}
Inside the emitted code, in the first part of the body of the IF, there is a wrong location, File "test2.jsligo", line 7, characters 6-7.