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

Issue 27494002: Report compile-time error when extending, mixing in or implementing a malformed type. (Closed)

Created:
7 years, 2 months ago by karlklose
Modified:
7 years, 2 months ago
Reviewers:
Johnni Winther
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Report compile-time error when extending, mixing in or implementing a malformed type. BUG=dartbug.com/13994 R=johnniwinther@google.com Committed: https://code.google.com/p/dart/source/detail?r=28721

Patch Set 1 #

Patch Set 2 : Handle mixins, too. And fix bugs with mixins. #

Total comments: 12

Patch Set 3 : Add tests. #

Patch Set 4 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -34 lines) Patch
M sdk/lib/_internal/compiler/implementation/resolution/members.dart View 1 2 3 6 chunks +28 lines, -27 lines 0 comments Download
sdk/lib/_internal/compiler/implementation/warnings.dart View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
tests/language/language_dart2js.status View 1 chunk +0 lines, -4 lines 0 comments Download
A + tests/language/mixin_invalid_inheritance1_test.dart View 1 2 1 chunk +6 lines, -3 lines 0 comments Download
A tests/language/mixin_invalid_inheritance2_test.dart View 1 2 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
karlklose
7 years, 2 months ago (2013-10-16 09:47:26 UTC) #1
Johnni Winther
On 2013/10/16 09:47:26, karlklose wrote: Could you support malformed mixin as well?
7 years, 2 months ago (2013-10-16 10:01:52 UTC) #2
karlklose
On 2013/10/16 10:01:52, Johnni Winther wrote: > On 2013/10/16 09:47:26, karlklose wrote: > > Could ...
7 years, 2 months ago (2013-10-16 11:41:12 UTC) #3
karlklose
On 2013/10/16 11:41:12, karlklose wrote: > On 2013/10/16 10:01:52, Johnni Winther wrote: > > On ...
7 years, 2 months ago (2013-10-16 12:13:07 UTC) #4
Johnni Winther
lgtm https://codereview.chromium.org/27494002/diff/5001/sdk/lib/_internal/compiler/implementation/resolution/members.dart File sdk/lib/_internal/compiler/implementation/resolution/members.dart (right): https://codereview.chromium.org/27494002/diff/5001/sdk/lib/_internal/compiler/implementation/resolution/members.dart#newcode3877 sdk/lib/_internal/compiler/implementation/resolution/members.dart:3877: if (mixinType == null || mixinType.kind != TypeKind.INTERFACE) ...
7 years, 2 months ago (2013-10-16 12:22:23 UTC) #5
karlklose
Thanks Johnni! https://codereview.chromium.org/27494002/diff/5001/sdk/lib/_internal/compiler/implementation/resolution/members.dart File sdk/lib/_internal/compiler/implementation/resolution/members.dart (right): https://codereview.chromium.org/27494002/diff/5001/sdk/lib/_internal/compiler/implementation/resolution/members.dart#newcode3877 sdk/lib/_internal/compiler/implementation/resolution/members.dart:3877: if (mixinType == null || mixinType.kind != ...
7 years, 2 months ago (2013-10-16 12:34:51 UTC) #6
karlklose
7 years, 2 months ago (2013-10-16 12:52:22 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 manually as r28721 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698