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

Unified Diff: pkg/compiler/lib/src/deferred_load.dart

Issue 1397053002: Introduce DartType.unaliased to avoid use of Resolution in the backend. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 5 years, 2 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 | « pkg/compiler/lib/src/dart_types.dart ('k') | pkg/compiler/lib/src/dump_info.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/deferred_load.dart
diff --git a/pkg/compiler/lib/src/deferred_load.dart b/pkg/compiler/lib/src/deferred_load.dart
index d0f312032be85144ac8ab5af99f8bc0ebba8ec60..759252748d2b835efca8a699f43d17e410485e8e 100644
--- a/pkg/compiler/lib/src/deferred_load.dart
+++ b/pkg/compiler/lib/src/deferred_load.dart
@@ -6,8 +6,6 @@ library deferred_load;
import 'common/backend_api.dart' show
Backend;
-import 'common/resolution.dart' show
- Resolution;
import 'common/tasks.dart' show
CompilerTask;
import 'compiler.dart' show
@@ -285,7 +283,7 @@ class DeferredLoadTask extends CompilerTask {
collectTypeDependencies(type.returnType);
} else if (type is TypedefType) {
elements.add(type.element);
- collectTypeDependencies(type.unalias(compiler.resolution));
+ collectTypeDependencies(type.unaliased);
} else if (type is InterfaceType) {
elements.add(type.element);
}
« no previous file with comments | « pkg/compiler/lib/src/dart_types.dart ('k') | pkg/compiler/lib/src/dump_info.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698