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

Unified Diff: utils/pub/yaml/deep_equals.dart

Issue 11267018: Make getKeys, getValues getters (keys, values). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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 | « utils/pub/yaml/composer.dart ('k') | utils/pub/yaml/model.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/yaml/deep_equals.dart
diff --git a/utils/pub/yaml/deep_equals.dart b/utils/pub/yaml/deep_equals.dart
index a402c1421cdbd5c73fc605feeb43890acbe50276..2cb38cc3e5e718699cb2eacd5f43b9217605d0ab 100644
--- a/utils/pub/yaml/deep_equals.dart
+++ b/utils/pub/yaml/deep_equals.dart
@@ -58,7 +58,7 @@ bool _listEquals(List list1, List list2, List parents1, List parents2) {
bool _mapEquals(Map map1, Map map2, List parents1, List parents2) {
if (map1.length != map2.length) return false;
- for (var key in map1.getKeys()) {
+ for (var key in map1.keys) {
if (!map2.containsKey(key)) return false;
if (!deepEquals(map1[key], map2[key], parents1, parents2)) return false;
}
« no previous file with comments | « utils/pub/yaml/composer.dart ('k') | utils/pub/yaml/model.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698