But then shouldn't the rewriting be like this?
var foo = 5;
var tmp = 6;
var tmp$1 = foo;
foo = tmp;
tmp = tmp$1; var foo = 5;
var tmp = 6;
var tmp$1 = foo;
foo = tmp;
tmp = tmp$1;This was back in 2014 though and sweet has changed a ton since then, so the output is probably different