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

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

Issue 26291005: dart2js: The name of a library without a library declaration is the empty string. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
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 e489fb187294d571ad7d413a97c685b2ec130e64..4f169ebf5cb86512240090569d1e321df4b8ff45 100644
--- a/sdk/lib/_internal/compiler/implementation/enqueue.dart
+++ b/sdk/lib/_internal/compiler/implementation/enqueue.dart
@@ -31,7 +31,7 @@ class EnqueueTask extends CompilerTask {
if (!library.isInternalLibrary) {
container = library;
// TODO(ahe): Is this right? Is this necessary?
- name = library.getLibraryOrScriptName();
+ name = library.getLibraryName();
}
} else if (element.isClass()) {
ClassElement cls = element;

Powered by Google App Engine
This is Rietveld 408576698