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

Unified Diff: frog/world.dart

Issue 8481022: cleanup test status (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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 | « frog/member.dart ('k') | tests/corelib/corelib.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/world.dart
diff --git a/frog/world.dart b/frog/world.dart
index 540e65d1c6192d84afc702488586f6ab42537933..8a7e58b173a70cfea592a66d27c52fb076910958 100644
--- a/frog/world.dart
+++ b/frog/world.dart
@@ -325,7 +325,8 @@ class World {
if (library == null) {
library = new Library(readFile(filename));
info('read library ${filename}');
- if (!library.isCore) {
+ if (!library.isCore &&
+ !library.imports.some((li) => li.library.isCore)) {
library.imports.add(new LibraryImport(corelib));
}
libraries[filename] = library;
@@ -339,8 +340,7 @@ class World {
final todo = _todo;
_todo = [];
for (var lib in todo) {
- // TODO(jimhug): I don't like such active constructors.
- new LibraryVisitor(lib);
+ lib.visitSources();
}
}
}
« no previous file with comments | « frog/member.dart ('k') | tests/corelib/corelib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698