|
|
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 #
Messages
Total messages: 44 (32 generated)
The CQ bit was checked by gsathya@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== [import] Disallow using new with import() BUG=v8:5785 ========== to ========== [import] Disallow using new with import() BUG=v8:5785 ==========
gsathya@chromium.org changed reviewers: + adamk@chromium.org, neis@chromium.org
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm if you make the description clearer (also I'd guess most people have no idea what [import] means, so better stick to [ESnext] or [modules]).
Description was changed from ========== [import] Disallow using new with import() BUG=v8:5785 ========== to ========== [ESnext] Disallow using new with import() Throw a syntax error on "new import(1)" expression. BUG=v8:5785 ==========
Description was changed from ========== [import] Disallow using new with import() BUG=v8:5785 ========== to ========== [ESnext] Disallow using new with import() Throw a syntax error on "new import(1)" expression. BUG=v8:5785 ==========
The CQ bit was checked by gsathya@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
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)
The CQ bit was checked by gsathya@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by gsathya@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from neis@chromium.org Link to the patchset: https://codereview.chromium.org/2661113002/#ps20001 (title: "rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
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)
On 2017/01/31 21:35:16, commit-bot: I haz the power wrote: > 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) i guess i need a lgtm from adam
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... src/parsing/parser-base.h:3326: MessageTemplate::kUnexpectedToken, Please add a specialized error message for this case.
The CQ bit was checked by gsathya@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== [ESnext] Disallow using new with import() Throw a syntax error on "new import(1)" expression. BUG=v8:5785 ========== to ========== [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 ==========
The CQ bit was checked by gsathya@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
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... src/parsing/parser-base.h:3326: MessageTemplate::kUnexpectedToken, On 2017/01/31 22:12:56, adamk wrote: > Please add a specialized error message for this case. Updated. But why? We don't have one for "new super()".
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... src/parsing/parser-base.h:3326: MessageTemplate::kUnexpectedToken, On 2017/01/31 22:27:31, gsathya wrote: > On 2017/01/31 22:12:56, adamk wrote: > > Please add a specialized error message for this case. > > Updated. But why? We don't have one for "new super()". Just because it's easy to give a better error here. We have some good error messages and some bad ones, I don't see why new error messages shouldn't be as good as we can make them, especially if it's trivial.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: v8_linux64_asan_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel_ng/buil...) v8_linux64_asan_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel_ng_trig...) v8_win_nosnap_shared_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_nosnap_shared_rel_ng...) v8_win_nosnap_shared_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_nosnap_shared_rel_ng...)
The CQ bit was checked by gsathya@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by gsathya@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from neis@chromium.org, adamk@chromium.org Link to the patchset: https://codereview.chromium.org/2661113002/#ps80001 (title: "update goldens")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 80001, "attempt_start_ts": 1485909023299260, "parent_rev": "ea96fdec68d5c536f2e9d2deb3bbe02811210bd1", "commit_rev": "d08fd93ba6d9ffeba21c76601f75c5ffa4eb9d38"}
Message was sent while issue was closed.
Description was changed from ========== [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 ========== to ========== [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/+/d08fd93ba6d9ffeba21c76601f75c5ffa4e... ==========
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/v8/v8/+/d08fd93ba6d9ffeba21c76601f75c5ffa4e... |