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

Unified Diff: sdk/lib/_internal/compiler/implementation/library_loader.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/library_loader.dart
diff --git a/sdk/lib/_internal/compiler/implementation/library_loader.dart b/sdk/lib/_internal/compiler/implementation/library_loader.dart
index 85191f17ef019e4440efdf532f39c81134e4eff7..ec4d5312df773bbf598ca196361136bacb425eb0 100644
--- a/sdk/lib/_internal/compiler/implementation/library_loader.dart
+++ b/sdk/lib/_internal/compiler/implementation/library_loader.dart
@@ -339,7 +339,7 @@ class LibraryLoaderTask extends LibraryLoader {
void checkDuplicatedLibraryName(LibraryElement library) {
LibraryName tag = library.libraryTag;
if (tag != null) {
- String name = library.getLibraryOrScriptName();
+ String name = library.getLibraryName();
LibraryElement existing =
libraryNames.putIfAbsent(name, () => library);
if (!identical(existing, library)) {

Powered by Google App Engine
This is Rietveld 408576698