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

Unified Diff: lib/src/unmodifiable_wrappers.dart

Issue 1353873002: Fix inconsistent APIs (Closed) Base URL: https://github.com/dart-lang/collection.git@master
Patch Set: Bump version Created 5 years, 3 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 | « CHANGELOG.md ('k') | lib/wrappers.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/unmodifiable_wrappers.dart
diff --git a/lib/src/unmodifiable_wrappers.dart b/lib/src/unmodifiable_wrappers.dart
index 7f7d90105e3ceb15470d135475a33031e2219ff0..efe3c9d07edc05ff01ec570c1e9550424b2f592d 100644
--- a/lib/src/unmodifiable_wrappers.dart
+++ b/lib/src/unmodifiable_wrappers.dart
@@ -227,7 +227,7 @@ abstract class UnmodifiableMapMixin<K, V> implements Map<K, V> {
* Throws an [UnsupportedError];
* operations that change the map are disallowed.
*/
- V remove(K key) => _throw();
+ V remove(Object key) => _throw();
/**
* Throws an [UnsupportedError];
« no previous file with comments | « CHANGELOG.md ('k') | lib/wrappers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698