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

Unified Diff: sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart

Issue 11967010: Internal libraries supported. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update MockCompiler Created 7 years, 11 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/dart_backend/backend.dart
diff --git a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
index 2a49c2f1ac059b59d62be5d50f54837688676e1f..e7f62c6f35d1f0efc6c78893105631fef5e48682 100644
--- a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
+++ b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
@@ -573,7 +573,7 @@ List sorted(Iterable l, comparison) {
}
compareElements(e0, e1) {
- int result = compareBy((e) => e.getLibrary().uri.toString())(e0, e1);
+ int result = compareBy((e) => e.getLibrary().canonicalUri.toString())(e0, e1);
if (result != 0) return result;
return compareBy((e) => e.position().charOffset)(e0, e1);
}

Powered by Google App Engine
This is Rietveld 408576698