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

Issue 1656993002: [parser] report invalid rest parameter errors in Arrow functions (Closed)

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

[parser] report invalid rest parameter errors in Arrow functions Based on vogelheim's CL at https://codereview.chromium.org/1657783002/ BUG=chromium:582626, v8:2700 LOG=N R=adamk@chromium.org, rossberg@chromium.org, vogelheim@chromium.org Committed: https://crrev.com/15da984326b184a3d60b4f437c081c4a25789822 Cr-Commit-Position: refs/heads/master@{#33651}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : group tests/remove unneeded stuff #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -8 lines) Patch
M src/messages.h View 2 chunks +2 lines, -1 line 0 comments Download
M src/parsing/parser-base.h View 1 2 chunks +17 lines, -3 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 3 chunks +21 lines, -2 lines 0 comments Download
A + test/message/arrow-invalid-rest.js View 1 chunk +4 lines, -1 line 0 comments Download
A test/message/arrow-invalid-rest.out View 1 chunk +4 lines, -0 lines 0 comments Download
A + test/message/arrow-invalid-rest-2.js View 1 chunk +4 lines, -1 line 0 comments Download
A test/message/arrow-invalid-rest-2.out View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
caitp (gmail)
PTAL, I think this is a more targeted fix for this crash
4 years, 10 months ago (2016-02-01 22:08:11 UTC) #1
adamk
https://codereview.chromium.org/1656993002/diff/80001/src/parsing/parser-base.h File src/parsing/parser-base.h (right): https://codereview.chromium.org/1656993002/diff/80001/src/parsing/parser-base.h#newcode1455 src/parsing/parser-base.h:1455: int ellipsis_pos; I think this is a dup of ...
4 years, 10 months ago (2016-02-01 23:15:59 UTC) #6
caitp (gmail)
will fix up in a sec https://codereview.chromium.org/1656993002/diff/80001/src/parsing/parser-base.h File src/parsing/parser-base.h (right): https://codereview.chromium.org/1656993002/diff/80001/src/parsing/parser-base.h#newcode1455 src/parsing/parser-base.h:1455: int ellipsis_pos; On ...
4 years, 10 months ago (2016-02-01 23:19:38 UTC) #7
adamk
lgtm
4 years, 10 months ago (2016-02-01 23:55:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1656993002/90001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1656993002/90001
4 years, 10 months ago (2016-02-01 23:56:03 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:90001)
4 years, 10 months ago (2016-02-02 00:30:54 UTC) #11
commit-bot: I haz the power
4 years, 10 months ago (2016-02-02 00:33:21 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/15da984326b184a3d60b4f437c081c4a25789822
Cr-Commit-Position: refs/heads/master@{#33651}

Powered by Google App Engine
This is Rietveld 408576698