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

Unified Diff: tests/html/htmlelement_test.dart

Issue 11644061: Fixing a bunch of dartc errors in dart:html tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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: tests/html/htmlelement_test.dart
diff --git a/tests/html/htmlelement_test.dart b/tests/html/htmlelement_test.dart
index f9455dfa33f85e905cd756bd3ad92436d39e490a..7c5e5a08843a85a087e90c9c18f5eedf06d1629a 100644
--- a/tests/html/htmlelement_test.dart
+++ b/tests/html/htmlelement_test.dart
@@ -61,7 +61,7 @@ main() {
final keys = <String> [];
final values = <String> [];
- div.dataAttributes.forEach(void f(String key, String value) {
Emily Fortuna 2012/12/21 00:44:18 I thought this was supported? no longer?
blois 2012/12/21 01:05:42 It's supported, just needed to remove the return v
Emily Fortuna 2012/12/21 01:07:31 Oh okay. I thought for some reason that the vm and
blois 2012/12/21 01:13:17 Dartc was saying it's deprecated, but I don't know
+ div.dataAttributes.forEach((String key, String value) {
keys.add(key);
values.add(value);
});
« tests/html/html.status ('K') | « tests/html/html.status ('k') | tests/html/node_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698