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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/kernel_target.dart

Issue 2912503003: Perform MixinFullResolution only for source libraries. (Closed)
Patch Set: Assert that only classes that declared in the libraries to be transformed are transformed. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/kernel/bin/transform.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
index 2a0f3ffa45332105a4160fb28dcc55377fbe02ec..8733af0b71436388975e889fe2536ccbef6c9d9c 100644
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart
@@ -45,8 +45,7 @@ import 'package:kernel/transformations/erasure.dart' show Erasure;
import 'package:kernel/transformations/continuation.dart' as transformAsync;
-import 'package:kernel/transformations/mixin_full_resolution.dart'
- show MixinFullResolution;
+import 'package:kernel/transformations/mixin_full_resolution.dart' as mix;
import 'package:kernel/type_algebra.dart' show substitute;
@@ -662,7 +661,7 @@ class KernelTarget extends TargetImplementation {
}
void transformMixinApplications() {
- new MixinFullResolution(backendTarget).transform(_program);
+ mix.transformLibraries(backendTarget, loader.libraries);
ticker.logMs("Transformed mixin applications");
}
« no previous file with comments | « no previous file | pkg/kernel/bin/transform.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698