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

Unified Diff: sdk/lib/collection/hash_map.dart

Issue 23486007: Change the field and constructor parameter types of NoSuchMethodError to Symbol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Handle named arguments better in js_mirror Created 7 years, 4 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: sdk/lib/collection/hash_map.dart
diff --git a/sdk/lib/collection/hash_map.dart b/sdk/lib/collection/hash_map.dart
index e2f22a67b4f40427565994ad68e1d865f6bf4a1e..a0624e005a9ebd018444621d8229ee6840053006 100644
--- a/sdk/lib/collection/hash_map.dart
+++ b/sdk/lib/collection/hash_map.dart
@@ -38,7 +38,7 @@ class HashMap<K, V> implements Map<K, V> {
* If no values are specified for [key] and [value] the default is the
* identity function.
*/
- factory HashMap.fromIterable(Iterable<K> iterable,
+ factory HashMap.fromIterable(Iterable iterable,
ahe 2013/08/30 06:46:35 Unrelated change, I think.
Lasse Reichstein Nielsen 2013/08/30 14:06:02 Just a bug that I happened to hit with this change
{K key(element), V value(element)}) {
HashMap<K, V> map = new HashMap<K, V>();
Maps._fillMapWithMappedIterable(map, iterable, key, value);

Powered by Google App Engine
This is Rietveld 408576698