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/convert/convert.dart

Issue 1112403004: SDK fixes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Formatting fix Created 5 years, 8 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/convert/convert.dart
diff --git a/test/generated_sdk/lib/convert/convert.dart b/test/generated_sdk/lib/convert/convert.dart
index 15616f169d611d50ee0faea7f3c2b39e455e7c99..fbb7683bbea7f7b160dae6ec2b3e0019e92a758d 100644
--- a/test/generated_sdk/lib/convert/convert.dart
+++ b/test/generated_sdk/lib/convert/convert.dart
@@ -167,7 +167,7 @@ class _JsonMap implements LinkedHashMap {
_JsonMap(this._original);
- operator[](key) {
+ operator[](Object key) {
if (_isUpgraded) {
return _upgradedMap[key];
} else if (key is !String) {
@@ -217,7 +217,7 @@ class _JsonMap implements LinkedHashMap {
});
}
- bool containsValue(value) {
+ bool containsValue(Object value) {
if (_isUpgraded) return _upgradedMap.containsValue(value);
List<String> keys = _computeKeys();
for (int i = 0; i < keys.length; i++) {
@@ -227,7 +227,7 @@ class _JsonMap implements LinkedHashMap {
return false;
}
- bool containsKey(key) {
+ bool containsKey(Object key) {
if (_isUpgraded) return _upgradedMap.containsKey(key);
if (key is !String) return false;
return _hasProperty(_original, key);

Powered by Google App Engine
This is Rietveld 408576698