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

Issue 2689303003: Implement type variables in mixin applications. (Closed)

Created:
3 years, 10 months ago by ahe
Modified:
3 years, 10 months ago
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com
Target Ref:
refs/heads/master
Project:
Fasta
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 #

Patch Set 3 : Restore duplication handling and set mixedInType. #

Total comments: 12

Patch Set 4 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -55 lines) Patch
M pkg/front_end/lib/src/fasta/builder/class_builder.dart View 1 chunk +6 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/builder/mixin_application_builder.dart View 1 2 3 2 chunks +12 lines, -1 line 0 comments Download
M pkg/front_end/lib/src/fasta/dill/dill_class_builder.dart View 2 chunks +11 lines, -1 line 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_enum_builder.dart View 2 chunks +4 lines, -1 line 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart View 1 2 chunks +1 line, -18 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_mixin_application_builder.dart View 1 2 3 3 chunks +63 lines, -24 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_named_mixin_application_builder.dart View 2 chunks +5 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/kernel/kernel_target.dart View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M pkg/front_end/lib/src/fasta/source/outline_builder.dart View 2 chunks +8 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/source/source_class_builder.dart View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M pkg/front_end/lib/src/fasta/source/source_library_builder.dart View 1 2 3 4 chunks +36 lines, -4 lines 0 comments Download
M pkg/front_end/test/fasta/mixin.dart View 1 2 2 chunks +17 lines, -1 line 0 comments Download
M pkg/front_end/test/fasta/mixin.dart.direct.expect View 1 2 3 chunks +44 lines, -2 lines 0 comments Download
M pkg/front_end/test/fasta/mixin.dart.outline.expect View 1 2 3 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
ahe
3 years, 10 months ago (2017-02-14 17:38:17 UTC) #2
ahe
Hang on. Something is wrong with this CL. I'll send a message when it's fixed. ...
3 years, 10 months ago (2017-02-14 17:44:45 UTC) #3
ahe
Thanks for waiting, this CL is ready for review now. https://codereview.chromium.org/2689303003/diff/40001/pkg/front_end/test/fasta/mixin.dart.direct.expect File pkg/front_end/test/fasta/mixin.dart.direct.expect (right): https://codereview.chromium.org/2689303003/diff/40001/pkg/front_end/test/fasta/mixin.dart.direct.expect#newcode7 ...
3 years, 10 months ago (2017-02-14 18:12:36 UTC) #4
ahe
Karl, could you take a look?
3 years, 10 months ago (2017-02-15 08:03:00 UTC) #6
karlklose
LGTM https://codereview.chromium.org/2689303003/diff/40001/pkg/front_end/lib/src/fasta/dill/dill_class_builder.dart File pkg/front_end/lib/src/fasta/dill/dill_class_builder.dart (right): https://codereview.chromium.org/2689303003/diff/40001/pkg/front_end/lib/src/fasta/dill/dill_class_builder.dart#newcode59 pkg/front_end/lib/src/fasta/dill/dill_class_builder.dart:59: bool get isMixinApplication => cls.isMixinApplication; Should this be ...
3 years, 10 months ago (2017-02-15 09:09:30 UTC) #7
ahe
Thank you, Karl! One open question below that we can potentially address in a follow-up ...
3 years, 10 months ago (2017-02-15 09:36:51 UTC) #8
ahe
Committed patchset #4 (id:60001) manually as b62a37a36b2d01c3c27979a2cf5eada24afce035 (presubmit successful).
3 years, 10 months ago (2017-02-15 09:38:55 UTC) #10
karlklose
3 years, 10 months ago (2017-02-15 09:43:57 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/2689303003/diff/40001/pkg/front_end/lib/src/f...
File pkg/front_end/lib/src/fasta/dill/dill_class_builder.dart (right):

https://codereview.chromium.org/2689303003/diff/40001/pkg/front_end/lib/src/f...
pkg/front_end/lib/src/fasta/dill/dill_class_builder.dart:59: bool get
isMixinApplication => cls.isMixinApplication;
On 2017/02/15 09:36:50, ahe wrote:
> On 2017/02/15 09:09:30, karlklose wrote:
> > Should this be `isMixinApplicationBuilder`?
> 
> Generally, I haven't used the Builder prefix in bool properties, for example,
> see Builder. But what's your thinking behind this question?

It made sense to me to have a prefix here to make it explicit that this is a
builder and not the thing it builds and I wasn't sure if there already is a
convention. If you did not use a prefix elsewhere, keep it as is.

Powered by Google App Engine
This is Rietveld 408576698