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

Unified Diff: lib/compiler/implementation/scanner/byte_strings.dart

Issue 10310040: Sort the output (for now just the classes and instance members). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase Created 8 years, 7 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: lib/compiler/implementation/scanner/byte_strings.dart
diff --git a/lib/compiler/implementation/scanner/byte_strings.dart b/lib/compiler/implementation/scanner/byte_strings.dart
index c9b18d0c83217775d85059563f49435ad4c57b26..aa92be3070d07750fb7a3401284b8a3771847754 100644
--- a/lib/compiler/implementation/scanner/byte_strings.dart
+++ b/lib/compiler/implementation/scanner/byte_strings.dart
@@ -42,6 +42,8 @@ class ByteString implements SourceString {
return code;
}
+ int compareTo(SourceString other) => sourceStringCompare(this, other);
+
printOn(StringBuffer sb) {
sb.add(slowToString());
}

Powered by Google App Engine
This is Rietveld 408576698