Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upExtend B.3.3.4 to cover switch-statements? #780
Comments
added a commit
to anba/ecma262
that referenced
this issue
Feb 6, 2017
anba
referenced this issue
Feb 6, 2017
Merged
Allow duplicate function declarations in switch-statements #797
bterlson
closed this
in
#797
Feb 7, 2017
added a commit
that referenced
this issue
Feb 7, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
anba commentedJan 24, 2017
B.3.3.4 only allows
{ function f() {} function f() {} }, but browsers also acceptswitch (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.