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

Issue 2661113002: [ESnext] Disallow using new with import() (Closed)

Created:
3 years, 10 months ago by gsathya
Modified:
3 years, 10 months ago
Reviewers:
neis, adamk
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[ESnext] Disallow using new with import() Throw a syntax error on "new import(1)" expression. Adds a new error msg as well. BUG=v8:5785 Review-Url: https://codereview.chromium.org/2661113002 Cr-Commit-Position: refs/heads/master@{#42827} Committed: https://chromium.googlesource.com/v8/v8/+/d08fd93ba6d9ffeba21c76601f75c5ffa4eb9d38

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 3

Patch Set 3 : add new error msg #

Patch Set 4 : change name #

Patch Set 5 : update goldens #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -6 lines) Patch
M src/messages.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/parsing/parser-base.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ForOf.golden View 1 2 3 4 4 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/Generators.golden View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-parsing.cc View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 44 (32 generated)
gsathya
3 years, 10 months ago (2017-01-31 02:21:01 UTC) #5
neis
lgtm if you make the description clearer (also I'd guess most people have no idea ...
3 years, 10 months ago (2017-01-31 11:23:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2661113002/1
3 years, 10 months ago (2017-01-31 20:54:37 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/33748)
3 years, 10 months ago (2017-01-31 20:58:07 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2661113002/20001
3 years, 10 months ago (2017-01-31 21:31:42 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/33752)
3 years, 10 months ago (2017-01-31 21:35:16 UTC) #23
gsathya
On 2017/01/31 21:35:16, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 10 months ago (2017-01-31 21:38:34 UTC) #24
adamk
https://codereview.chromium.org/2661113002/diff/20001/src/parsing/parser-base.h File src/parsing/parser-base.h (right): https://codereview.chromium.org/2661113002/diff/20001/src/parsing/parser-base.h#newcode3326 src/parsing/parser-base.h:3326: MessageTemplate::kUnexpectedToken, Please add a specialized error message for this ...
3 years, 10 months ago (2017-01-31 22:12:57 UTC) #25
gsathya
https://codereview.chromium.org/2661113002/diff/20001/src/parsing/parser-base.h File src/parsing/parser-base.h (right): https://codereview.chromium.org/2661113002/diff/20001/src/parsing/parser-base.h#newcode3326 src/parsing/parser-base.h:3326: MessageTemplate::kUnexpectedToken, On 2017/01/31 22:12:56, adamk wrote: > Please add ...
3 years, 10 months ago (2017-01-31 22:27:32 UTC) #31
adamk
lgtm https://codereview.chromium.org/2661113002/diff/20001/src/parsing/parser-base.h File src/parsing/parser-base.h (right): https://codereview.chromium.org/2661113002/diff/20001/src/parsing/parser-base.h#newcode3326 src/parsing/parser-base.h:3326: MessageTemplate::kUnexpectedToken, On 2017/01/31 22:27:31, gsathya wrote: > On ...
3 years, 10 months ago (2017-01-31 22:32:16 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2661113002/80001
3 years, 10 months ago (2017-02-01 00:30:29 UTC) #41
commit-bot: I haz the power
3 years, 10 months ago (2017-02-01 00:32:44 UTC) #44
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/v8/v8/+/d08fd93ba6d9ffeba21c76601f75c5ffa4e...

Powered by Google App Engine
This is Rietveld 408576698