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

Extend B.3.3.4 to cover switch-statements? #780

Closed
anba opened this Issue Jan 24, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@anba
Contributor

anba commented Jan 24, 2017

B.3.3.4 only allows { function f() {} function f() {} }, but browsers also accept switch (0) { case 0: function f() {} function f() {} }. I think the omission to change 13.12.1 is a spec error, but before writing a PR, I'd like to get this confirmed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment