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

Unified Diff: runtime/lib/immutable_map.dart

Issue 9692068: Fixed some static type warnings in vm core libraries (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merged up Created 8 years, 9 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 | « runtime/lib/date.dart ('k') | runtime/lib/regexp.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/immutable_map.dart
diff --git a/runtime/lib/immutable_map.dart b/runtime/lib/immutable_map.dart
index 1b762732981b0a42942f378e31a018e561a0f93b..689a931eb3d75941a75bdfd0b22d31526cc12238 100644
--- a/runtime/lib/immutable_map.dart
+++ b/runtime/lib/immutable_map.dart
@@ -46,7 +46,7 @@ class ImmutableMap<K, V> implements Map<K, V> {
Collection<V> getValues() {
int numValues = length;
- List<K> list = new List<K>(numValues);
+ List<V> list = new List<V>(numValues);
for (int i = 0; i < numValues; i++) {
list[i] = kvPairs_[i*2 + 1];
}
« no previous file with comments | « runtime/lib/date.dart ('k') | runtime/lib/regexp.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698