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

Unified Diff: lib/kernel.dart

Issue 2203313002: Generate all imported libraries. (Closed) Base URL: git@github.com:dart-lang/rasta.git@private_names
Patch Set: Created 4 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/kernel.dart
diff --git a/lib/kernel.dart b/lib/kernel.dart
index 76c22755e0d5776b3cb9ef123d8ac6fe13cf99b1..cb12e3a8ede091a80eb90ee1c85f978bb08d845d 100644
--- a/lib/kernel.dart
+++ b/lib/kernel.dart
@@ -563,7 +563,7 @@ class Kernel {
}
while (notProcessed.isNotEmpty) {
LibraryElement library = notProcessed.removeFirst();
- ir.Library irLibrary = libraries[library];
+ ir.Library irLibrary = libraryToIr(library);
for (ImportElement import in library.imports) {
if (seen.add(import.importedLibrary)) {
processLater(import.importedLibrary);
@@ -588,6 +588,7 @@ class Kernel {
result.add(irLibrary);
}
}
+ processWorkQueue();
return result;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698