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

Unified Diff: frog/utils.dart

Issue 8509035: TBR (red build bot). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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 | « frog/type.dart ('k') | frog/value.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/utils.dart
diff --git a/frog/utils.dart b/frog/utils.dart
index a308e4c715087e678209e54d4e2090372e26c033..f12d23dc7c14d0a1317409085d55e627dbcdb1a8 100644
--- a/frog/utils.dart
+++ b/frog/utils.dart
@@ -52,7 +52,7 @@ List zip(Iterable left, Iterable right, mapper(left, right)) {
/** Sorts the map by the key. */
List orderValuesByKeys(Map map) {
// TODO(jmesserly): it'd be nice to have SortedMap in corelib.
- List keys = map.getKeys();
+ final keys = map.getKeys();
keys.sort((x, y) => x.compareTo(y));
final values = [];
for (var k in keys) {
« no previous file with comments | « frog/type.dart ('k') | frog/value.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698