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

Issue 1914423002: [es8] Report proper syntax error for tail call expressions in for-in and for-of bodies. (Closed)

Created:
4 years, 7 months ago by Igor Sheludko
Modified:
4 years, 7 months ago
Reviewers:
rossberg
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@tco-fix
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[es8] Report proper syntax error for tail call expressions in for-in and for-of bodies. BUG=v8:4915 LOG=Y Committed: https://crrev.com/f95e130b7e7e4b955bb001883e1dd2db22c9f5d1 Cr-Commit-Position: refs/heads/master@{#35822}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressing comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -31 lines) Patch
M src/messages.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/parsing/parser.cc View 1 3 chunks +8 lines, -6 lines 0 comments Download
M src/parsing/parser-base.h View 1 6 chunks +42 lines, -16 lines 0 comments Download
M src/parsing/preparser.cc View 1 3 chunks +11 lines, -5 lines 0 comments Download
A + test/message/syntactic-tail-call-in-for-in.js View 1 chunk +1 line, -2 lines 0 comments Download
A test/message/syntactic-tail-call-in-for-in.out View 1 chunk +4 lines, -0 lines 0 comments Download
A + test/message/syntactic-tail-call-in-for-of.js View 1 chunk +1 line, -2 lines 0 comments Download
A test/message/syntactic-tail-call-in-for-of.out View 1 chunk +4 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 18 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1914423002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1914423002/1
4 years, 7 months ago (2016-04-27 10:31:37 UTC) #2
Igor Sheludko
PTAL
4 years, 7 months ago (2016-04-27 10:31:49 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-27 11:01:41 UTC) #6
rossberg
lgtm https://codereview.chromium.org/1914423002/diff/1/src/parsing/preparser.cc File src/parsing/preparser.cc (right): https://codereview.chromium.org/1914423002/diff/1/src/parsing/preparser.cc#newcode701 src/parsing/preparser.cc:701: return_expr_context == ReturnExprContext::kInsideTryBlock Use a switch here, to ...
4 years, 7 months ago (2016-04-27 11:12:01 UTC) #7
Igor Sheludko
https://codereview.chromium.org/1914423002/diff/1/src/parsing/preparser.cc File src/parsing/preparser.cc (right): https://codereview.chromium.org/1914423002/diff/1/src/parsing/preparser.cc#newcode701 src/parsing/preparser.cc:701: return_expr_context == ReturnExprContext::kInsideTryBlock On 2016/04/27 11:12:01, rossberg wrote: > ...
4 years, 7 months ago (2016-04-27 11:39:48 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1914423002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1914423002/20001
4 years, 7 months ago (2016-04-27 11:40:02 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-27 12:03:21 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1914423002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1914423002/20001
4 years, 7 months ago (2016-04-27 13:00:42 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-04-27 13:02:34 UTC) #16
commit-bot: I haz the power
4 years, 7 months ago (2016-04-27 13:03:20 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f95e130b7e7e4b955bb001883e1dd2db22c9f5d1
Cr-Commit-Position: refs/heads/master@{#35822}

Powered by Google App Engine
This is Rietveld 408576698