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

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: Fix problem in deferred code 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
« no previous file with comments | « no previous file | dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..461018f9e860096419d7daca2bfd1800e8007bf3 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/enqueue.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/enqueue.dart
@@ -23,7 +23,11 @@ class EnqueueTask extends CompilerTask {
if (element.isLibrary()) {
LibraryElementX library = element;
Uri uri = library.canonicalUri;
- if (uri.scheme != 'dart' && !uri.path.startsWith('_')) {
+ // Don't include private implementation libraries. These
+ // libraries contain special classes that cause problems
+ // in other parts of the resolver (in particular Null and Void).
+ // TODO(ahe): Consider lifting this restriction.
+ if (uri.scheme != 'dart' || !uri.path.startsWith('_')) {
members = library.localMembers;
// TODO(ahe): Is this right? Is this necessary?
name = library.getLibraryOrScriptName();
« no previous file with comments | « no previous file | dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698