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

Unified Diff: test/generated_sdk/lib/collection/linked_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
Index: test/generated_sdk/lib/collection/linked_hash_map.dart
diff --git a/test/generated_sdk/lib/collection/linked_hash_map.dart b/test/generated_sdk/lib/collection/linked_hash_map.dart
index 35d011043dfa69ce44d9fdbed7c4041ba1466423..098767eccf80f1cd85c9fb6b3379740869043c07 100644
--- a/test/generated_sdk/lib/collection/linked_hash_map.dart
+++ b/test/generated_sdk/lib/collection/linked_hash_map.dart
@@ -55,7 +55,7 @@ abstract class LinkedHashMap<K, V> implements HashMap<K, V> {
*/
factory LinkedHashMap({ bool equals(K key1, K key2),
int hashCode(K key),
- bool isValidKey(potentialKey) }) {
+ bool isValidKey(Object potentialKey) }) {
if (isValidKey == null) {
if (hashCode == null) {
if (equals == null) {
« no previous file with comments | « test/generated_sdk/lib/collection/iterable.dart ('k') | test/generated_sdk/lib/collection/linked_hash_set.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698