https://codereview.chromium.org/964063003/diff/1/test/mjsunit/harmony/block-let-declaration.js
File test/mjsunit/harmony/block-let-declaration.js (right):

https://codereview.chromium.org/964063003/diff/1/test/mjsunit/harmony/block-let-declaration.js#newcode156
test/mjsunit/harmony/block-let-declaration.js:156:
TestLocalThrows("function f() { label: function g() {} }", SyntaxError);
Oh wait. Actually this one shouldn't be a syntax error (even though it
currently is).

https://codereview.chromium.org/964063003/diff/1/test/mjsunit/harmony/block-let-declaration.js#newcode158
test/mjsunit/harmony/block-let-declaration.js:158:
TestLocalThrows("function f() { switch (true) { case true: function g()
{} } }", SyntaxError);
Neither the last two.

https://codereview.chromium.org/964063003/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to