Reviewers: adamk,
Description:
Add class to existing lexical scoping tests
This patch strengthens testing of classes by verifying that the binding
that they export externally follows block scoping, as opposed to var-style
scoping. The tests are based on existing tests for let and const.
R=adamk
LOG=N
BUG=v8:3305
Please review this at https://codereview.chromium.org/1286923002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+184, -36 lines):
M test/mjsunit/es6/block-conflicts.js
M test/mjsunit/es6/block-let-declaration.js
M test/mjsunit/es6/block-let-semantics.js
M test/mjsunit/es6/block-scoping.js
M test/mjsunit/harmony/block-conflicts-sloppy.js
M test/mjsunit/harmony/block-let-declaration-sloppy.js
M test/mjsunit/harmony/block-let-semantics-sloppy.js
M test/mjsunit/harmony/block-scoping-sloppy.js
--
--
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.