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

Unified Diff: frog/utils.dart

Issue 8478025: Restore r1383: Fix method resolution to warn about things that don't exist on the declared type. (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
Index: frog/utils.dart
diff --git a/frog/utils.dart b/frog/utils.dart
index f12d23dc7c14d0a1317409085d55e627dbcdb1a8..a308e4c715087e678209e54d4e2090372e26c033 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.
- final keys = map.getKeys();
+ List keys = map.getKeys();
jimhug 2011/11/10 15:47:21 Huh? Was this change actually needed?
keys.sort((x, y) => x.compareTo(y));
final values = [];
for (var k in keys) {

Powered by Google App Engine
This is Rietveld 408576698