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

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

Issue 286983004: Include internal library members when enqueuing everything. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/enqueue.dart
diff --git a/sdk/lib/_internal/compiler/implementation/enqueue.dart b/sdk/lib/_internal/compiler/implementation/enqueue.dart
index 1b79960c95e6318c65e1d36430a03f526a1ad78c..fabf8134dcb432456c74044e7c5bff43bded5caf 100644
--- a/sdk/lib/_internal/compiler/implementation/enqueue.dart
+++ b/sdk/lib/_internal/compiler/implementation/enqueue.dart
@@ -24,15 +24,9 @@ class EnqueueTask extends CompilerTask {
ScopeContainerElement container = null;
if (element.isLibrary) {
LibraryElement library = element;
- // 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 (!library.isInternalLibrary) {
- container = library;
- // TODO(ahe): Is this right? Is this necessary?
- name = library.getLibraryOrScriptName();
- }
+ container = library;
+ // TODO(ahe): Is this right? Is this necessary?
+ name = library.getLibraryOrScriptName();
} else if (element.isClass) {
ClassElement cls = element;
cls.ensureResolved(compiler);
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698