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

Issue 2912503003: Perform MixinFullResolution only for source libraries. (Closed)

Created:
3 years, 7 months ago by scheglov
Modified:
3 years, 6 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: 6

Patch Set 2 : Tweaks for review comments. #

Patch Set 3 : Assert that only classes that declared in the libraries to be transformed are transformed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -16 lines) Patch
M pkg/front_end/lib/src/fasta/kernel/kernel_target.dart View 2 chunks +2 lines, -3 lines 0 comments Download
M pkg/kernel/bin/transform.dart View 2 chunks +2 lines, -1 line 0 comments Download
M pkg/kernel/lib/target/flutter.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/kernel/lib/target/vm.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/kernel/lib/transformations/mixin_full_resolution.dart View 1 2 4 chunks +21 lines, -10 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
scheglov
3 years, 7 months ago (2017-05-26 19:57:54 UTC) #1
Paul Berry
lgtm assuming Kevin, Peter, or Siggi approves
3 years, 7 months ago (2017-05-26 20:13:46 UTC) #2
Siggi Cherem (dart-lang)
lgtm too, but let's still wait on Kevin for API feedback and general direction of ...
3 years, 7 months ago (2017-05-26 22:08:33 UTC) #3
ahe
I think more work is needed for this to work. https://codereview.chromium.org/2912503003/diff/1/pkg/kernel/lib/transformations/mixin_full_resolution.dart File pkg/kernel/lib/transformations/mixin_full_resolution.dart (right): https://codereview.chromium.org/2912503003/diff/1/pkg/kernel/lib/transformations/mixin_full_resolution.dart#newcode90 ...
3 years, 6 months ago (2017-05-29 14:16:54 UTC) #4
scheglov
PTAL https://codereview.chromium.org/2912503003/diff/1/pkg/kernel/lib/transformations/mixin_full_resolution.dart File pkg/kernel/lib/transformations/mixin_full_resolution.dart (right): https://codereview.chromium.org/2912503003/diff/1/pkg/kernel/lib/transformations/mixin_full_resolution.dart#newcode47 pkg/kernel/lib/transformations/mixin_full_resolution.dart:47: var program = libraries.first.enclosingProgram; On 2017/05/26 22:08:32, Siggi ...
3 years, 6 months ago (2017-05-30 04:20:15 UTC) #5
ahe
lgtm OK if you can find a way to check that we only transform classes ...
3 years, 6 months ago (2017-05-30 09:51:16 UTC) #6
scheglov
https://codereview.chromium.org/2912503003/diff/1/pkg/kernel/lib/transformations/mixin_full_resolution.dart File pkg/kernel/lib/transformations/mixin_full_resolution.dart (right): https://codereview.chromium.org/2912503003/diff/1/pkg/kernel/lib/transformations/mixin_full_resolution.dart#newcode95 pkg/kernel/lib/transformations/mixin_full_resolution.dart:95: if (!class_.isMixinApplication) return; On 2017/05/30 09:51:16, ahe wrote: > ...
3 years, 6 months ago (2017-05-30 16:33:05 UTC) #7
scheglov
3 years, 6 months ago (2017-05-30 16:33:36 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
0dd81884bf12cd0bb760ab75e41d28e9d1719c7a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698