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

Issue 3004703002: Don't export unnamed mixins. (Closed)

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

Description

Patch Set 1 #

Total comments: 8

Patch Set 2 : Update transitive_mixins.dart.shaker #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -161 lines) Patch
M pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart View 1 chunk +1 line, -1 line 0 comments Download
A pkg/front_end/test/mixin_export_test.dart View 1 chunk +21 lines, -0 lines 0 comments Download
M pkg/front_end/testcases/compile.status View 2 chunks +1 line, -1 line 0 comments Download
M pkg/front_end/testcases/inference/infer_field_overrides_getter.dart.direct.expect View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/front_end/testcases/inference/infer_field_overrides_getter.dart.outline.expect View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/front_end/testcases/inference/infer_field_overrides_getter.dart.strong.expect View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/front_end/testcases/inference/infer_field_overrides_setter.dart.direct.expect View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/front_end/testcases/inference/infer_field_overrides_setter.dart.outline.expect View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/front_end/testcases/inference/infer_field_overrides_setter.dart.strong.expect View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/front_end/testcases/mixin.dart.direct.expect View 3 chunks +6 lines, -6 lines 0 comments Download
M pkg/front_end/testcases/mixin.dart.outline.expect View 3 chunks +6 lines, -6 lines 0 comments Download
A + pkg/front_end/testcases/mixin.dart.strong.expect View 3 chunks +11 lines, -11 lines 0 comments Download
M pkg/front_end/testcases/outline.status View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/front_end/testcases/rasta/duplicated_mixin.dart.direct.expect View 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/front_end/testcases/rasta/duplicated_mixin.dart.outline.expect View 1 chunk +3 lines, -3 lines 0 comments Download
A + pkg/front_end/testcases/rasta/duplicated_mixin.dart.strong.expect View 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/front_end/testcases/rasta/issue_000007.dart.direct.expect View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/front_end/testcases/rasta/issue_000007.dart.outline.expect View 1 chunk +2 lines, -2 lines 0 comments Download
A + pkg/front_end/testcases/rasta/issue_000007.dart.strong.expect View 1 chunk +3 lines, -3 lines 0 comments Download
M pkg/front_end/testcases/rasta/issue_000080.dart.direct.expect View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/front_end/testcases/rasta/issue_000080.dart.outline.expect View 1 chunk +2 lines, -2 lines 0 comments Download
A + pkg/front_end/testcases/rasta/issue_000080.dart.strong.expect View 2 chunks +5 lines, -5 lines 0 comments Download
M pkg/front_end/testcases/rasta/super_mixin.dart.direct.expect View 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/front_end/testcases/rasta/super_mixin.dart.outline.expect View 1 chunk +11 lines, -85 lines 0 comments Download
M pkg/front_end/testcases/rasta/super_mixin.dart.strong.expect View 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/front_end/testcases/shaker/transitive_mixins.dart.shaker View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/front_end/testcases/strong.status View 5 chunks +1 line, -4 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
ahe
3 years, 3 months ago (2017-08-28 12:21:45 UTC) #2
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/3004703002/diff/1/pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart File pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart (right): https://codereview.chromium.org/3004703002/diff/1/pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart#newcode245 pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart:245: name = "_$name&${mixin.name}$signature"; minor style question for the ...
3 years, 3 months ago (2017-08-28 15:57:55 UTC) #4
ahe
Thank you, Siggi! https://codereview.chromium.org/3004703002/diff/1/pkg/front_end/testcases/shaker.status File pkg/front_end/testcases/shaker.status (right): https://codereview.chromium.org/3004703002/diff/1/pkg/front_end/testcases/shaker.status#newcode9 pkg/front_end/testcases/shaker.status:9: transitive_mixins: Fail # Don't know how ...
3 years, 3 months ago (2017-08-28 18:19:24 UTC) #5
ahe
https://codereview.chromium.org/3004703002/diff/1/pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart File pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart (right): https://codereview.chromium.org/3004703002/diff/1/pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart#newcode245 pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart:245: name = "_$name&${mixin.name}$signature"; On 2017/08/28 15:57:54, Siggi Cherem (dart-lang) ...
3 years, 3 months ago (2017-08-28 18:22:45 UTC) #6
Siggi Cherem (dart-lang)
https://codereview.chromium.org/3004703002/diff/1/pkg/front_end/testcases/shaker.status File pkg/front_end/testcases/shaker.status (right): https://codereview.chromium.org/3004703002/diff/1/pkg/front_end/testcases/shaker.status#newcode9 pkg/front_end/testcases/shaker.status:9: transitive_mixins: Fail # Don't know how to update expectations. ...
3 years, 3 months ago (2017-08-28 19:43:29 UTC) #7
ahe
https://codereview.chromium.org/3004703002/diff/1/pkg/front_end/testcases/shaker.status File pkg/front_end/testcases/shaker.status (right): https://codereview.chromium.org/3004703002/diff/1/pkg/front_end/testcases/shaker.status#newcode9 pkg/front_end/testcases/shaker.status:9: transitive_mixins: Fail # Don't know how to update expectations. ...
3 years, 3 months ago (2017-08-29 09:15:24 UTC) #8
ahe
Committed patchset #2 (id:20001) manually as 48503c8720d758a61cc4ceb1281bdd81fbd92e13 (presubmit successful).
3 years, 3 months ago (2017-08-29 14:33:40 UTC) #10
Siggi Cherem (dart-lang)
https://codereview.chromium.org/3004703002/diff/1/pkg/front_end/testcases/shaker.status File pkg/front_end/testcases/shaker.status (right): https://codereview.chromium.org/3004703002/diff/1/pkg/front_end/testcases/shaker.status#newcode9 pkg/front_end/testcases/shaker.status:9: transitive_mixins: Fail # Don't know how to update expectations. ...
3 years, 3 months ago (2017-08-29 15:43:10 UTC) #11
ahe
3 years, 3 months ago (2017-08-29 16:24:57 UTC) #12
Message was sent while issue was closed.
https://codereview.chromium.org/3004703002/diff/1/pkg/front_end/testcases/sha...
File pkg/front_end/testcases/shaker.status (right):

https://codereview.chromium.org/3004703002/diff/1/pkg/front_end/testcases/sha...
pkg/front_end/testcases/shaker.status:9: transitive_mixins: Fail # Don't know
how to update expectations.
On 2017/08/29 15:43:10, Siggi Cherem (dart-lang) wrote:
> On 2017/08/29 09:15:24, ahe wrote:
> > On 2017/08/28 19:43:29, Siggi Cherem (dart-lang) wrote:
> > > On 2017/08/28 18:19:24, ahe wrote:
> > > > On 2017/08/28 15:57:54, Siggi Cherem (dart-lang) wrote:
> > > > > not sure I understand the reason in this comment
> > > > 
> > > > The expectation file
> > > > (pkg/front_end/testcases/shaker/transitive_mixins.dart.shaker) says:
> > > > 
> > > > DO NOT EDIT -- this file is autogenerated ---
> > > > 
> > > > What am I supposed to edit instead?
> > > 
> > > Thank you, we can make the .shaker file self document how to regenerate
it.
> > > 
> > > You can do it in a similar way as with the other tests via:
> > > 
> > >   ./pkg/front_end/tool/fasta testing -DupdateExpectations=true
> > > shaker/transitive_mixins
> > 
> > So in other words, I'm actually supposed to edit
> > pkg/front_end/testcases/shaker/transitive_mixins.dart.shaker if the
> expectations
> > changes?
> 
> correct - would it help if we change the extension from .shaker to
> .shaker.expect ?
> 
> It's just like the expected golden files you have for kernel code, except that
> the contents are tailored to the shaker

That would help. And also if the file didn't say "do not edit" :-)

Powered by Google App Engine
This is Rietveld 408576698