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

Issue 1141223002: [parser] report SyntaxError if rest parameter used in Setter MethodDefinition (Closed)

Created:
5 years, 7 months ago by caitp (gmail)
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

[parser] report SyntaxError if rest parameter used in Setter MethodDefinition BUG=v8:4107, v8:2159 LOG=N R=arv@chromium.org Committed: https://crrev.com/e160e6debb5c1b8df9faafeb8e18763b3ecedc90 Cr-Commit-Position: refs/heads/master@{#28454}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Rebase + move message to runtime #

Patch Set 3 : Add cctest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -14 lines) Patch
M src/messages.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/parser.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/preparser.h View 1 3 chunks +7 lines, -2 lines 0 comments Download
M src/preparser.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
A + test/message/rest-param-class-setter-strict.js View 1 chunk +5 lines, -3 lines 0 comments Download
A test/message/rest-param-class-setter-strict.out View 1 chunk +4 lines, -0 lines 0 comments Download
A + test/message/rest-param-object-setter-sloppy.js View 1 chunk +5 lines, -1 line 0 comments Download
A test/message/rest-param-object-setter-sloppy.out View 1 chunk +4 lines, -0 lines 0 comments Download
A + test/message/rest-param-object-setter-strict.js View 1 chunk +6 lines, -1 line 0 comments Download
A test/message/rest-param-object-setter-strict.out View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (2 generated)
caitp (gmail)
PTAL
5 years, 7 months ago (2015-05-15 13:36:01 UTC) #1
arv (Not doing code reviews)
https://codereview.chromium.org/1141223002/diff/1/src/messages.js File src/messages.js (right): https://codereview.chromium.org/1141223002/diff/1/src/messages.js#newcode144 src/messages.js:144: setter_rest_param: ["Setter function argument must not be a rest ...
5 years, 7 months ago (2015-05-15 13:55:56 UTC) #2
caitp (gmail)
On 2015/05/15 13:55:56, arv wrote: > https://codereview.chromium.org/1141223002/diff/1/src/messages.js > File src/messages.js (right): > > https://codereview.chromium.org/1141223002/diff/1/src/messages.js#newcode144 > ...
5 years, 7 months ago (2015-05-15 13:57:59 UTC) #3
caitp (gmail)
https://codereview.chromium.org/1141223002/diff/1/src/messages.js File src/messages.js (right): https://codereview.chromium.org/1141223002/diff/1/src/messages.js#newcode144 src/messages.js:144: setter_rest_param: ["Setter function argument must not be a rest ...
5 years, 7 months ago (2015-05-15 14:01:28 UTC) #5
caitp (gmail)
On 2015/05/15 14:01:28, caitp wrote: > https://codereview.chromium.org/1141223002/diff/1/src/messages.js > File src/messages.js (right): > > https://codereview.chromium.org/1141223002/diff/1/src/messages.js#newcode144 > ...
5 years, 7 months ago (2015-05-16 18:53:20 UTC) #6
Yang
On 2015/05/16 18:53:20, caitp wrote: > On 2015/05/15 14:01:28, caitp wrote: > > https://codereview.chromium.org/1141223002/diff/1/src/messages.js > ...
5 years, 7 months ago (2015-05-16 22:15:37 UTC) #7
Yang
On 2015/05/16 22:15:37, Yang wrote: > On 2015/05/16 18:53:20, caitp wrote: > > On 2015/05/15 ...
5 years, 7 months ago (2015-05-18 07:03:46 UTC) #8
caitp (gmail)
On 2015/05/18 07:03:46, Yang wrote: > See https://codereview.chromium.org/1130133003/ Thanks, updated to match.
5 years, 7 months ago (2015-05-18 11:57:00 UTC) #9
arv (Not doing code reviews)
Acually, can you also add something to test-parsing.cc so that we can ensure that both ...
5 years, 7 months ago (2015-05-18 14:59:50 UTC) #10
caitp (gmail)
On 2015/05/18 14:59:50, arv wrote: > Acually, can you also add something to test-parsing.cc so ...
5 years, 7 months ago (2015-05-18 15:10:40 UTC) #11
arv (Not doing code reviews)
LGTM
5 years, 7 months ago (2015-05-18 15:18:13 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1141223002/40001
5 years, 7 months ago (2015-05-18 15:24:17 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-05-18 15:53:04 UTC) #15
commit-bot: I haz the power
5 years, 7 months ago (2015-05-18 15:53:19 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e160e6debb5c1b8df9faafeb8e18763b3ecedc90
Cr-Commit-Position: refs/heads/master@{#28454}

Powered by Google App Engine
This is Rietveld 408576698