It could rewrite it like that, yeah, but sweet renaming all collided variables, likely to make it clear that they collided. It doesn't try to keep the distinction between what a macro introduced and what was already in scope (not worth the complexity).
This was back in 2014 though and sweet has changed a ton since then, so the output is probably different