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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/enqueue.dart

Issue 15861005: Implement ClassMirror.owner and LibraryMirror.uri. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 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
Index: dart/sdk/lib/_internal/compiler/implementation/enqueue.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/enqueue.dart b/dart/sdk/lib/_internal/compiler/implementation/enqueue.dart
index ca6d2d6743a4fcb12b57b7b36b7743cdb01290b1..593ea4a6a3560bce32f6bc96886124a374b3065b 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/enqueue.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/enqueue.dart
@@ -23,7 +23,7 @@ class EnqueueTask extends CompilerTask {
if (element.isLibrary()) {
LibraryElementX library = element;
Uri uri = library.canonicalUri;
- if (uri.scheme != 'dart' && !uri.path.startsWith('_')) {
+ if (uri.scheme != 'dart' || !uri.path.startsWith('_')) {
Johnni Winther 2013/05/27 05:38:49 Please add a comment. Something like "Don't includ
ahe 2013/05/27 06:46:04 Done.
members = library.localMembers;
// TODO(ahe): Is this right? Is this necessary?
name = library.getLibraryOrScriptName();

Powered by Google App Engine
This is Rietveld 408576698