PTAL

https://codereview.chromium.org/1332873003/diff/80001/test/mjsunit/harmony/block-sloppy-function.js
File test/mjsunit/harmony/block-sloppy-function.js (right):

https://codereview.chromium.org/1332873003/diff/80001/test/mjsunit/harmony/block-sloppy-function.js#newcode7
test/mjsunit/harmony/block-sloppy-function.js:7: // Test Annex B 3.3
semantics for functions declared in blocks in sloppy mode.
On 2015/09/11 at 15:42:56, adamk wrote:
Can you add tests for shadowing function params, both for simple
parameter lists and complex? I'm not actually sure what'll happen with
destructured param names at the moment, given that they're LET-bound,
but I'd like to know.

Also would be interesting to see this shadow "arguments".

Added tests. As you predicted, one of them fails, so I commented out the
key assertion.

https://codereview.chromium.org/1332873003/

--
--
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