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

Issue 12038018: Disallow mixing in classes that have constructors. (Closed)

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

Description

Disallow mixing in classes that have constructors. R=johnniwinther@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=17389

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -10 lines) Patch
M sdk/lib/_internal/compiler/implementation/resolution/members.dart View 1 chunk +10 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/warnings.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M tests/language/language.status View 4 chunks +29 lines, -10 lines 0 comments Download
A tests/language/mixin_illegal_constructor_test.dart View 1 chunk +55 lines, -0 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
kasperl
7 years, 11 months ago (2013-01-22 11:18:44 UTC) #1
Johnni Winther
lgtm https://codereview.chromium.org/12038018/diff/1/tests/language/mixin_illegal_constructor_test.dart File tests/language/mixin_illegal_constructor_test.dart (right): https://codereview.chromium.org/12038018/diff/1/tests/language/mixin_illegal_constructor_test.dart#newcode4 tests/language/mixin_illegal_constructor_test.dart:4: There is no case where the constructor is ...
7 years, 11 months ago (2013-01-22 11:46:44 UTC) #2
kasperl
7 years, 11 months ago (2013-01-22 11:50:45 UTC) #3
https://codereview.chromium.org/12038018/diff/1/tests/language/mixin_illegal_...
File tests/language/mixin_illegal_constructor_test.dart (right):

https://codereview.chromium.org/12038018/diff/1/tests/language/mixin_illegal_...
tests/language/mixin_illegal_constructor_test.dart:4: 
On 2013/01/22 11:46:44, Johnni Winther wrote:
> There is no case where the constructor is synthesized.

Well, that is generally the case for mixins so that should be well covered by
all the positive test cases.

Powered by Google App Engine
This is Rietveld 408576698