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

Unified Diff: tool/input_sdk/lib/collection/hash_map.dart

Issue 1122313002: Typing fixes to eliminate casts/dcalls (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Rebase 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
« no previous file with comments | « test/generated_sdk/lib/core/list.dart ('k') | tool/input_sdk/lib/collection/iterable.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/input_sdk/lib/collection/hash_map.dart
diff --git a/tool/input_sdk/lib/collection/hash_map.dart b/tool/input_sdk/lib/collection/hash_map.dart
index e67fa77556fc9a1d531dd39824e2ea8506922692..003cd4f18c8b642fe3df060d72093d26a57fb77c 100644
--- a/tool/input_sdk/lib/collection/hash_map.dart
+++ b/tool/input_sdk/lib/collection/hash_map.dart
@@ -5,9 +5,9 @@
part of dart.collection;
/** Default function for equality comparison in customized HashMaps */
-bool _defaultEquals(a, b) => a == b;
+bool _defaultEquals(Object a, Object b) => a == b;
/** Default function for hash-code computation in customized HashMaps */
-int _defaultHashCode(a) => a.hashCode;
+int _defaultHashCode(Object a) => a.hashCode;
/** Type of custom equality function */
typedef bool _Equality<K>(K a, K b);
« no previous file with comments | « test/generated_sdk/lib/core/list.dart ('k') | tool/input_sdk/lib/collection/iterable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698