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

Unified Diff: test/dart_codegen/expect/collection/hash_map.dart

Issue 1160673003: fixes #202, check IndexExpression (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 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
Index: test/dart_codegen/expect/collection/hash_map.dart
diff --git a/test/dart_codegen/expect/collection/hash_map.dart b/test/dart_codegen/expect/collection/hash_map.dart
index 5232e4759161edbf4392c59c787ab7fff9367416..ad6d36aa991eef1e2ec4290176394bc15fdc6dfd 100644
--- a/test/dart_codegen/expect/collection/hash_map.dart
+++ b/test/dart_codegen/expect/collection/hash_map.dart
@@ -10,7 +10,7 @@ part of dart.collection;
factory HashMap.from(Map other) {
HashMap<K, V> result = new HashMap<K, V>();
other.forEach((k, v) {
- result[k] = DEVC$RT.cast(v, dynamic, V, "CompositeCast", """line 87, column 40 of dart:collection/hash_map.dart: """, v is V, false);
+ result[DEVC$RT.cast(k, dynamic, K, "CompositeCast", """line 87, column 35 of dart:collection/hash_map.dart: """, k is K, false)] = DEVC$RT.cast(v, dynamic, V, "CompositeCast", """line 87, column 40 of dart:collection/hash_map.dart: """, v is V, false);
}
);
return result;

Powered by Google App Engine
This is Rietveld 408576698