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

Unified Diff: utils/template/parser.dart

Issue 11664006: Make Map.keys/values Iterables. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Add TODO that map.keys should return a Set. Created 7 years, 12 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/yaml_map.dart ('k') | utils/tests/pub/test_pub.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/template/parser.dart
diff --git a/utils/template/parser.dart b/utils/template/parser.dart
index 120e2692e4734a6cbe2a15f378056bc94b2269d1..e0f426c3befb9e30b27dad6938265b2d008d1f5f 100644
--- a/utils/template/parser.dart
+++ b/utils/template/parser.dart
@@ -454,7 +454,7 @@ class Parser {
}
if (scopeType > 0) {
var elem = new TemplateElement.attributes(tagToken.kind,
- attrs.values, varName, _makeSpan(start));
+ attrs.values.toList(), varName, _makeSpan(start));
stack.top().add(elem);
if (scopeType == 1) {
« no previous file with comments | « utils/pub/yaml/yaml_map.dart ('k') | utils/tests/pub/test_pub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698