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

Issue 1129083009: [destructuring] Support computed property names in patterns. (Closed)

Created:
5 years, 7 months ago by Dmitry Lomov (no reviews)
Modified:
5 years, 7 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[destructuring] Support computed property names in patterns. R=arv@chromium.org,rossberg@chromium.org BUG=v8:811 LOG=N Committed: https://crrev.com/3199077791ff1c062b92fe92614e8ee21b1f82d3 Cr-Commit-Position: refs/heads/master@{#28487}

Patch Set 1 #

Patch Set 2 : Minor test fix #

Total comments: 4

Patch Set 3 : Patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -8 lines) Patch
M src/pattern-rewriter.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M src/preparser.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 2 4 chunks +8 lines, -0 lines 0 comments Download
M test/mjsunit/harmony/destructuring.js View 1 2 2 chunks +95 lines, -1 line 0 comments Download

Messages

Total messages: 18 (4 generated)
Dmitry Lomov (no reviews)
PTAL (based on destructuring-initializers https://codereview.chromium.org/1146683002)
5 years, 7 months ago (2015-05-19 06:12:30 UTC) #1
rossberg
https://codereview.chromium.org/1129083009/diff/20001/test/mjsunit/harmony/destructuring.js File test/mjsunit/harmony/destructuring.js (right): https://codereview.chromium.org/1129083009/diff/20001/test/mjsunit/harmony/destructuring.js#newcode286 test/mjsunit/harmony/destructuring.js:286: (function TestComputedNames() { Add tests with computed accessor and ...
5 years, 7 months ago (2015-05-19 11:50:35 UTC) #2
caitp (gmail)
Just a general note about this --- If a function parameter includes an ObjectBindingPattern which ...
5 years, 7 months ago (2015-05-19 13:35:42 UTC) #3
caitp (gmail)
On 2015/05/19 13:35:42, caitp wrote: > Just a general note about this --- If a ...
5 years, 7 months ago (2015-05-19 13:36:59 UTC) #4
Dmitry Lomov (no reviews)
https://codereview.chromium.org/1129083009/diff/20001/test/mjsunit/harmony/destructuring.js File test/mjsunit/harmony/destructuring.js (right): https://codereview.chromium.org/1129083009/diff/20001/test/mjsunit/harmony/destructuring.js#newcode286 test/mjsunit/harmony/destructuring.js:286: (function TestComputedNames() { On 2015/05/19 11:50:34, rossberg wrote: > ...
5 years, 7 months ago (2015-05-19 14:07:28 UTC) #5
rossberg
On 2015/05/19 14:07:28, Dmitry Lomov (chromium) wrote: > https://codereview.chromium.org/1129083009/diff/20001/test/mjsunit/harmony/destructuring.js > File test/mjsunit/harmony/destructuring.js (right): > > ...
5 years, 7 months ago (2015-05-19 14:16:55 UTC) #6
arv (Not doing code reviews)
LGTM https://codereview.chromium.org/1129083009/diff/20001/test/mjsunit/harmony/destructuring.js File test/mjsunit/harmony/destructuring.js (right): https://codereview.chromium.org/1129083009/diff/20001/test/mjsunit/harmony/destructuring.js#newcode344 test/mjsunit/harmony/destructuring.js:344: }()); Can haz order tests? var log = ...
5 years, 7 months ago (2015-05-19 14:19:56 UTC) #7
arv (Not doing code reviews)
> assertArrayEquals(log, ['f x', 'f y', 'get x', get y']); Should be assertArrayEquals(log, ['f x', ...
5 years, 7 months ago (2015-05-19 14:36:56 UTC) #8
Dmitry Lomov (no reviews)
Landing https://codereview.chromium.org/1129083009/diff/20001/test/mjsunit/harmony/destructuring.js File test/mjsunit/harmony/destructuring.js (right): https://codereview.chromium.org/1129083009/diff/20001/test/mjsunit/harmony/destructuring.js#newcode344 test/mjsunit/harmony/destructuring.js:344: }()); On 2015/05/19 14:19:56, arv wrote: > Can ...
5 years, 7 months ago (2015-05-19 14:52:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129083009/40001
5 years, 7 months ago (2015-05-19 14:52:22 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_nodcheck_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nodcheck_rel/builds/2794)
5 years, 7 months ago (2015-05-19 15:06:01 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1129083009/40001
5 years, 7 months ago (2015-05-19 16:03:31 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-05-19 16:27:27 UTC) #17
commit-bot: I haz the power
5 years, 7 months ago (2015-05-19 16:27:39 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3199077791ff1c062b92fe92614e8ee21b1f82d3
Cr-Commit-Position: refs/heads/master@{#28487}

Powered by Google App Engine
This is Rietveld 408576698