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

Unified Diff: vm/class_finalizer.cc

Issue 8342046: Add an imported into list for libraries so that it is possible to lookup (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 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 | « no previous file | vm/dart_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/class_finalizer.cc
===================================================================
--- vm/class_finalizer.cc (revision 591)
+++ vm/class_finalizer.cc (working copy)
@@ -93,6 +93,13 @@
}
// Clear pending classes array.
object_store->set_pending_classes(Array::Handle(Array::Empty()));
+
+ // Check to ensure there are no duplicate definitions in the library
+ // hierarchy.
+ const String& str = String::Handle(Library::CheckForDuplicateDefinition());
+ if (!str.IsNull()) {
+ ReportError("Duplicate definition : %s\n", str.ToCString());
+ }
} else {
retval = false;
}
« no previous file with comments | « no previous file | vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698