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

Unified Diff: sdk/lib/_internal/compiler/implementation/elements/modelx.dart

Issue 350693007: Load patches via callback. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 6 years, 6 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/elements/modelx.dart
diff --git a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
index 629678b49dfd74006c17740db9112073082b9fd3..64bcdcfd21dd3bce7dccdc8fd39b62d142d916c8 100644
--- a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
+++ b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
@@ -970,11 +970,11 @@ class LibraryElementX
String toString() {
if (origin != null) {
- return 'patch library(${getLibraryOrScriptName()})';
+ return 'patch library(${canonicalUri})';
} else if (patch != null) {
- return 'origin library(${getLibraryOrScriptName()})';
+ return 'origin library(${canonicalUri})';
} else {
- return 'library(${getLibraryOrScriptName()})';
+ return 'library(${canonicalUri})';
}
}

Powered by Google App Engine
This is Rietveld 408576698