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

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

Issue 2994813002: Fix broken test: closed_world2 test still uses rasta (Closed)
Patch Set: Created 3 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: pkg/compiler/lib/src/kernel/kernel.dart
diff --git a/pkg/compiler/lib/src/kernel/kernel.dart b/pkg/compiler/lib/src/kernel/kernel.dart
index af37e8d432ee68a66ba7c101258c86115f63d6df..afd9fc2d48f4aec6c775276b969e832fd8906d7c 100644
--- a/pkg/compiler/lib/src/kernel/kernel.dart
+++ b/pkg/compiler/lib/src/kernel/kernel.dart
@@ -176,6 +176,15 @@ class Kernel {
// above gives them in reversed order.
classes.forEach(libraryNode.addClass);
members.forEach(libraryNode.addMember);
+ // TODO(sigmund): include combinators, etc.
+ library.imports.forEach((ImportElement import) {
+ libraryNode.addDependency(new ir.LibraryDependency.import(
+ libraryToIr(import.importedLibrary)));
+ });
+ library.exports.forEach((ExportElement export) {
+ libraryNode.addDependency(new ir.LibraryDependency.export(
+ libraryToIr(export.exportedLibrary)));
+ });
});
return libraryNode;
});
« 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