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

Issue 1634403002: Add ES2015 Function.name support to pattern and default parameter initializers (Closed)

Created:
4 years, 10 months ago by adamk
Modified:
4 years, 10 months ago
Reviewers:
caitp (gmail), 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

Add ES2015 Function.name support to pattern and default parameter initializers Note that in these cases, we don't support computed property names yet, just as we don't for object and class literals. BUG=v8:3699, v8:4710 LOG=n Committed: https://crrev.com/dadb3a5bb6e5631c81cb7d93710dca98f9e51890 Cr-Commit-Position: refs/heads/master@{#33562}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add caitp-requested tests #

Total comments: 2

Patch Set 3 : Added parenthesized tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -0 lines) Patch
M src/parsing/parser-base.h View 2 chunks +8 lines, -0 lines 0 comments Download
M test/mjsunit/harmony/function-name.js View 1 2 2 chunks +151 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
adamk
4 years, 10 months ago (2016-01-27 02:42:11 UTC) #2
caitp (gmail)
non-binding lgtm https://codereview.chromium.org/1634403002/diff/1/test/mjsunit/harmony/function-name.js File test/mjsunit/harmony/function-name.js (right): https://codereview.chromium.org/1634403002/diff/1/test/mjsunit/harmony/function-name.js#newcode166 test/mjsunit/harmony/function-name.js:166: a = function() {}, What about `name: ...
4 years, 10 months ago (2016-01-27 02:50:34 UTC) #3
adamk
https://codereview.chromium.org/1634403002/diff/1/test/mjsunit/harmony/function-name.js File test/mjsunit/harmony/function-name.js (right): https://codereview.chromium.org/1634403002/diff/1/test/mjsunit/harmony/function-name.js#newcode166 test/mjsunit/harmony/function-name.js:166: a = function() {}, On 2016/01/27 02:50:34, caitp wrote: ...
4 years, 10 months ago (2016-01-27 18:33:55 UTC) #4
rossberg
lgtm https://codereview.chromium.org/1634403002/diff/20001/test/mjsunit/harmony/function-name.js File test/mjsunit/harmony/function-name.js (right): https://codereview.chromium.org/1634403002/diff/20001/test/mjsunit/harmony/function-name.js#newcode164 test/mjsunit/harmony/function-name.js:164: (function testObjectBindingPattern() { In all these cases, it ...
4 years, 10 months ago (2016-01-27 18:39:07 UTC) #5
adamk
https://codereview.chromium.org/1634403002/diff/20001/test/mjsunit/harmony/function-name.js File test/mjsunit/harmony/function-name.js (right): https://codereview.chromium.org/1634403002/diff/20001/test/mjsunit/harmony/function-name.js#newcode164 test/mjsunit/harmony/function-name.js:164: (function testObjectBindingPattern() { On 2016/01/27 18:39:07, rossberg wrote: > ...
4 years, 10 months ago (2016-01-27 18:46:38 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1634403002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1634403002/40001
4 years, 10 months ago (2016-01-27 18:51:26 UTC) #9
caitp (gmail)
On 2016/01/27 18:46:38, adamk wrote: > https://codereview.chromium.org/1634403002/diff/20001/test/mjsunit/harmony/function-name.js > File test/mjsunit/harmony/function-name.js (right): > > https://codereview.chromium.org/1634403002/diff/20001/test/mjsunit/harmony/function-name.js#newcode164 > ...
4 years, 10 months ago (2016-01-27 18:52:26 UTC) #10
adamk
On 2016/01/27 18:52:26, caitp wrote: > On 2016/01/27 18:46:38, adamk wrote: > > > https://codereview.chromium.org/1634403002/diff/20001/test/mjsunit/harmony/function-name.js ...
4 years, 10 months ago (2016-01-27 18:55:04 UTC) #11
caitp (gmail)
On 2016/01/27 18:55:04, adamk wrote: > On 2016/01/27 18:52:26, caitp wrote: > > It doesn't ...
4 years, 10 months ago (2016-01-27 18:56:20 UTC) #12
adamk
On 2016/01/27 18:56:20, caitp wrote: > On 2016/01/27 18:55:04, adamk wrote: > > On 2016/01/27 ...
4 years, 10 months ago (2016-01-27 18:58:53 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-01-27 19:13:17 UTC) #14
commit-bot: I haz the power
4 years, 10 months ago (2016-01-27 19:13:29 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/dadb3a5bb6e5631c81cb7d93710dca98f9e51890
Cr-Commit-Position: refs/heads/master@{#33562}

Powered by Google App Engine
This is Rietveld 408576698