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

Issue 2614053002: Improve error message for calling super() twice in a derived constructor (Closed)

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

Description

Improve error message for calling super() twice in a derived constructor Previously the message was "this is not defined" which is nonsensical. BUG=v8:4407 Review-Url: https://codereview.chromium.org/2614053002 Cr-Commit-Position: refs/heads/master@{#42114} Committed: https://chromium.googlesource.com/v8/v8/+/0d726624004489f08566f526b05deb8fe9d1efc5

Patch Set 1 #

Patch Set 2 : Fix DCHECK_EQ #

Patch Set 3 : Fix golden files #

Patch Set 4 : Merged #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -35 lines) Patch
M src/interpreter/bytecode-generator.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 1 chunk +7 lines, -13 lines 0 comments Download
M src/messages.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime-classes.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ClassAndSuperClass.golden View 1 2 4 chunks +7 lines, -11 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/SuperCallAndSpread.golden View 1 2 4 chunks +6 lines, -10 lines 0 comments Download

Messages

Total messages: 22 (16 generated)
adamk
3 years, 11 months ago (2017-01-05 22:02:11 UTC) #3
rmcilroy
LGTM, thanks.
3 years, 11 months ago (2017-01-06 11:02:03 UTC) #12
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/2614053002/40001
3 years, 11 months ago (2017-01-06 19:47:58 UTC) #14
commit-bot: I haz the power
Failed to apply patch for src/messages.h: While running git apply --index -p1; error: patch failed: ...
3 years, 11 months ago (2017-01-06 19:49:57 UTC) #16
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/2614053002/60001
3 years, 11 months ago (2017-01-06 19:56:38 UTC) #19
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 20:26:08 UTC) #22
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/0d726624004489f08566f526b05deb8fe9d...

Powered by Google App Engine
This is Rietveld 408576698