LambdaS5 icon indicating copy to clipboard operation
LambdaS5 copied to clipboard

Continue with label is broken in desugaring

Open tilk opened this issue 10 years ago • 0 comments

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.

tilk avatar Feb 06 '15 12:02 tilk