Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Issue 1517973002: [es6] support AssignmentPattern as LHS in for-in/of loops (Closed)

Created:
5 years ago by caitp (gmail)
Modified:
5 years ago
Reviewers:
adamk, rossberg
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[es6] support AssignmentPattern as LHS in for-in/of loops BUG=v8:811, v8:4599 LOG=N R=adamk@chromium.org, rossberg@chromium.org Committed: https://crrev.com/18f41e46531ac0e1c6c9586a735795d842b627a0 Cr-Commit-Position: refs/heads/master@{#32814}

Patch Set 1 #

Total comments: 1

Patch Set 2 : change name on TODO to adam #

Patch Set 3 : Centralize the error validation to a single place, to ease confusion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -41 lines) Patch
M src/ast/ast.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/parsing/parser.h View 2 chunks +8 lines, -6 lines 0 comments Download
M src/parsing/parser.cc View 1 2 9 chunks +51 lines, -18 lines 0 comments Download
M src/parsing/pattern-rewriter.cc View 2 chunks +15 lines, -3 lines 0 comments Download
M src/parsing/preparser.cc View 1 2 1 chunk +20 lines, -6 lines 0 comments Download
M test/cctest/test-parsing.cc View 5 chunks +33 lines, -8 lines 0 comments Download
M test/mjsunit/harmony/destructuring-assignment.js View 1 chunk +52 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
caitp (gmail)
PTAL --- the fuzzer failure is fixed
5 years ago (2015-12-11 11:16:27 UTC) #3
caitp (gmail)
https://codereview.chromium.org/1517973002/diff/1/src/parsing/parser.cc File src/parsing/parser.cc (right): https://codereview.chromium.org/1517973002/diff/1/src/parsing/parser.cc#newcode3901 src/parsing/parser.cc:3901: ValidateExpression(&classifier, CHECK_OK); The problem was caused by the left-most ...
5 years ago (2015-12-11 11:19:36 UTC) #5
caitp (gmail)
On 2015/12/11 11:19:36, caitp wrote: > https://codereview.chromium.org/1517973002/diff/1/src/parsing/parser.cc > File src/parsing/parser.cc (right): > > https://codereview.chromium.org/1517973002/diff/1/src/parsing/parser.cc#newcode3901 > ...
5 years ago (2015-12-11 16:52:41 UTC) #6
adamk
lgtm
5 years ago (2015-12-11 18:37:01 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1517973002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1517973002/60001
5 years ago (2015-12-11 18:38:24 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years ago (2015-12-11 19:39:03 UTC) #11
commit-bot: I haz the power
5 years ago (2015-12-11 19:39:51 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/18f41e46531ac0e1c6c9586a735795d842b627a0
Cr-Commit-Position: refs/heads/master@{#32814}

Powered by Google App Engine
This is Rietveld 408576698