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

Issue 1191303002: Better error reporting for "return();" (Closed)

Created:
5 years, 6 months ago by wingo
Modified:
5 years, 6 months ago
Reviewers:
rossberg
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Better error reporting for "return();" R=rossberg@chromium.org BUG=v8:4194 LOG=N Committed: https://crrev.com/d940c0272426cb86a963ece05998422cb70284e1 Cr-Commit-Position: refs/heads/master@{#29153}

Patch Set 1 #

Patch Set 2 : "we want to give a good arrow" -> "error" #

Total comments: 1

Patch Set 3 : Only signal an error for nullary arrow functions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -7 lines) Patch
M src/messages.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/preparser.h View 1 2 4 chunks +14 lines, -6 lines 0 comments Download
A + test/message/arrow-missing.js View 1 chunk +1 line, -1 line 0 comments Download
A test/message/arrow-missing.out View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (4 generated)
wingo
5 years, 6 months ago (2015-06-19 09:59:03 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1191303002/1
5 years, 6 months ago (2015-06-19 09:59:16 UTC) #3
commit-bot: I haz the power
The author wingo@igalia.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
5 years, 6 months ago (2015-06-19 09:59:17 UTC) #4
commit-bot: I haz the power
The author wingo@igalia.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
5 years, 6 months ago (2015-06-19 10:00:44 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1191303002/20001
5 years, 6 months ago (2015-06-19 12:28:50 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-19 13:02:59 UTC) #9
rossberg
https://codereview.chromium.org/1191303002/diff/20001/src/messages.h File src/messages.h (right): https://codereview.chromium.org/1191303002/diff/20001/src/messages.h#newcode327 src/messages.h:327: "Expected () to start arrow function, but got '%' ...
5 years, 6 months ago (2015-06-19 13:40:40 UTC) #10
wingo
On 2015/06/19 13:40:40, rossberg wrote: > https://codereview.chromium.org/1191303002/diff/20001/src/messages.h > File src/messages.h (right): > > https://codereview.chromium.org/1191303002/diff/20001/src/messages.h#newcode327 > ...
5 years, 6 months ago (2015-06-19 13:45:33 UTC) #11
rossberg
On 2015/06/19 13:45:33, wingo wrote: > On 2015/06/19 13:40:40, rossberg wrote: > > https://codereview.chromium.org/1191303002/diff/20001/src/messages.h > ...
5 years, 6 months ago (2015-06-19 13:55:49 UTC) #12
rossberg
On 2015/06/19 13:55:49, rossberg wrote: > On 2015/06/19 13:45:33, wingo wrote: > > On 2015/06/19 ...
5 years, 6 months ago (2015-06-19 13:56:39 UTC) #13
wingo
On 2015/06/19 13:55:49, rossberg wrote: > On 2015/06/19 13:45:33, wingo wrote: > > On 2015/06/19 ...
5 years, 6 months ago (2015-06-19 14:05:06 UTC) #14
rossberg
LGTM > Not for (...x, y) because the (... case reads an identifier and then ...
5 years, 6 months ago (2015-06-19 14:08:38 UTC) #15
wingo
On 2015/06/19 14:08:38, rossberg wrote: > LGTM > > > Not for (...x, y) because ...
5 years, 6 months ago (2015-06-19 14:15:13 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1191303002/40001
5 years, 6 months ago (2015-06-19 14:15:32 UTC) #18
wingo
On 2015/06/19 14:15:13, wingo wrote: > On 2015/06/19 14:08:38, rossberg wrote: > > LGTM > ...
5 years, 6 months ago (2015-06-19 14:16:49 UTC) #19
rossberg
On 2015/06/19 14:15:13, wingo wrote: > Hummm! AFAIU parsing this is broken ATM, but FunctionRestParameter ...
5 years, 6 months ago (2015-06-19 14:26:48 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-19 15:10:06 UTC) #21
commit-bot: I haz the power
5 years, 6 months ago (2015-06-19 15:10:24 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d940c0272426cb86a963ece05998422cb70284e1
Cr-Commit-Position: refs/heads/master@{#29153}

Powered by Google App Engine
This is Rietveld 408576698