Chromium Code Reviews| 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(); |