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

Unified Diff: dart/frog/leg/universe.dart

Issue 9447100: Return null from stringValue and call slowToString() instead of toString(). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: changes Created 8 years, 10 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
« no previous file with comments | « dart/frog/leg/typechecker.dart ('k') | dart/frog/leg/warnings.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/universe.dart
diff --git a/dart/frog/leg/universe.dart b/dart/frog/leg/universe.dart
index 0353c744886e4709d72b491055bed13de8bb9399..6526aa0d615f9652e3f6f8fac05a9aca0bb677b5 100644
--- a/dart/frog/leg/universe.dart
+++ b/dart/frog/leg/universe.dart
@@ -142,7 +142,7 @@ class Invocation extends Selector {
List<SourceString> list = new List<SourceString>.from(namedArguments);
list.sort((SourceString first, SourceString second) {
- return first.stringValue.compareTo(second.stringValue);
+ return first.slowToString().compareTo(second.slowToString());
});
orderedNamedArguments = list;
return orderedNamedArguments;
« no previous file with comments | « dart/frog/leg/typechecker.dart ('k') | dart/frog/leg/warnings.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698