Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continue with label is broken in desugaring #52

Open
tilk opened this issue Feb 6, 2015 · 0 comments
Open

Continue with label is broken in desugaring #52

tilk opened this issue Feb 6, 2015 · 0 comments

Comments

@tilk
Copy link

tilk commented Feb 6, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant