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

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

Issue 2590913002: Add WorkItemBuilder to abstract WorkItem creation from the enqueuers. (Closed)
Patch Set: Created 4 years 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
Index: pkg/compiler/lib/src/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index 3eee56fa326f44772774f777eca78d63c2d32abb..046573fa6b0a649e80c57ada47d61ca53f279f39 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -769,6 +769,9 @@ abstract class Compiler implements LibraryLoaderListener {
cls.ensureResolved(resolution);
cls.forEachLocalMember(registerStaticUse);
impactBuilder.registerTypeUse(new TypeUse.instantiation(cls.rawType));
+ } else if (element.isTypedef) {
Siggi Cherem (dart-lang) 2016/12/20 21:21:47 I feel I missed something: why typedefs are now ha
Johnni Winther 2016/12/21 10:19:37 Typedef should never have been added to the work-l
+ TypedefElement typdef = element;
+ typdef.ensureResolved(resolution);
} else {
registerStaticUse(element);
}

Powered by Google App Engine
This is Rietveld 408576698