Reviewers: Dan Ehrenberg, rossberg,
Message:
This depends on https://codereview.chromium.org/1218803006/
Description:
[es6] Initial support for let/const bindings in sloppy mode
Allow let in sloppy mode with --harmony-sloppy
Allow ES'15 const in sloppy mode with --harmony-sloppy --no-legacy-const
Functions in block are not done yet. They are only let bound in the block
at this point.
BUG=v8:3305, v8:2198
LOG=N
[email protected], [email protected]
Please review this at https://codereview.chromium.org/1219853004/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+163, -52 lines):
M src/flag-definitions.h
M src/parser.cc
M src/preparser.h
M src/preparser.cc
M test/cctest/test-parsing.cc
A + test/message/no-legacy-const.js
A test/message/no-legacy-const.out
A + test/message/no-legacy-const-2.js
A test/message/no-legacy-const-2.out
A + test/message/no-legacy-const-3.js
A test/message/no-legacy-const-3.out
A + test/mjsunit/harmony/block-conflicts-sloppy.js
A + test/mjsunit/harmony/block-const-assign-sloppy.js
A + test/mjsunit/harmony/block-for-sloppy.js
A + test/mjsunit/harmony/block-leave-sloppy.js
A + test/mjsunit/harmony/block-let-crankshaft-sloppy.js
A + test/mjsunit/harmony/block-let-declaration-sloppy.js
A + test/mjsunit/harmony/block-let-semantics-sloppy.js
A + test/mjsunit/harmony/block-scoping-sloppy.js
A + test/mjsunit/harmony/block-scoping-top-level-sloppy.js
--
--
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.