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

Issue 1002253002: [strong] Check super constructor calls (Closed)

Created:
5 years, 9 months ago by rossberg
Modified:
5 years, 9 months ago
CC:
v8-dev, arv (Not doing code reviews), Dmitry Lomov (no reviews)
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[strong] Check super constructor calls R=marja@chromium.org BUG=v8:3956 LOG=N Committed: https://crrev.com/3fcb38f772efb8b4855e2edc8945721215baa284 Cr-Commit-Position: refs/heads/master@{#27188}

Patch Set 1 #

Patch Set 2 : Typo #

Total comments: 2

Patch Set 3 : Comments marja #

Patch Set 4 : Rebased #

Patch Set 5 : Should be ReferenceError #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -2 lines) Patch
M src/messages.js View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M src/parser.cc View 1 2 3 4 2 chunks +27 lines, -0 lines 0 comments Download
M src/preparser.h View 1 2 3 7 chunks +21 lines, -0 lines 0 comments Download
M src/preparser.cc View 1 2 3 4 2 chunks +20 lines, -0 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
M test/mjsunit/strong/classes.js View 1 2 3 4 1 chunk +31 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
rossberg
5 years, 9 months ago (2015-03-13 14:52:56 UTC) #1
marja
LGTM Hmm, so this disallows: constructor() { if (sth) super(a, b, c); else super(d, e, ...
5 years, 9 months ago (2015-03-13 15:21:21 UTC) #2
rossberg
On 2015/03/13 15:21:21, marja wrote: > LGTM > > Hmm, so this disallows: > > ...
5 years, 9 months ago (2015-03-13 15:43:11 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1002253002/40001
5 years, 9 months ago (2015-03-13 15:43:54 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/3796)
5 years, 9 months ago (2015-03-13 15:45:06 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1002253002/60001
5 years, 9 months ago (2015-03-13 15:48:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1002253002/80001
5 years, 9 months ago (2015-03-13 16:06:21 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-03-13 16:26:45 UTC) #16
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/3fcb38f772efb8b4855e2edc8945721215baa284 Cr-Commit-Position: refs/heads/master@{#27188}
5 years, 9 months ago (2015-03-13 16:27:06 UTC) #17
Dmitry Lomov (no reviews)
5 years, 9 months ago (2015-03-13 16:41:04 UTC) #19
Message was sent while issue was closed.
DBC

https://codereview.chromium.org/1002253002/diff/20001/src/messages.js
File src/messages.js (right):

https://codereview.chromium.org/1002253002/diff/20001/src/messages.js#newcode173
src/messages.js:173: strong_super_call_missing:     ["Please always invoke the
super constructor in subclasses in strong mode"],
Do we need to plead here?

Powered by Google App Engine
This is Rietveld 408576698