LambdaS5
LambdaS5 copied to clipboard
Continue with label is broken in desugaring
The following Javascript program returns 1 in S5, it should return 5.
a: for (var x = 1; x < 5; x+=1) { continue a }; x
For the current desugaring, continue with a label behaves like a break, which is wrong.