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

Unified Diff: sdk/lib/_internal/compiler/implementation/deferred_load.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/deferred_load.dart
diff --git a/sdk/lib/_internal/compiler/implementation/deferred_load.dart b/sdk/lib/_internal/compiler/implementation/deferred_load.dart
index bba00f606a7c8d1443ab67e7536d9446d3f83606..1e90161df27032f0cc8160344e27fcb80d9e40e0 100644
--- a/sdk/lib/_internal/compiler/implementation/deferred_load.dart
+++ b/sdk/lib/_internal/compiler/implementation/deferred_load.dart
@@ -208,7 +208,7 @@ class DeferredLoadTask extends CompilerTask {
LibraryElement deferredLibrary = library.getLibraryFromTag(tag);
link = link.prepend(deferredLibrary);
SourceString actualName =
- new SourceString(deferredLibrary.getLibraryOrScriptName());
+ new SourceString(deferredLibrary.getLibraryName());
if (expectedName != actualName) {
compiler.reportError(
metadata,

Powered by Google App Engine
This is Rietveld 408576698