mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 22:19:49 +00:00
Remove dynamic call in _JsonMap.
Change-Id: I73297a65a59aeefee9f170aa640b9d5d20e7bf9e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/262271 Commit-Queue: Kallen Tu <kallentu@google.com> Reviewed-by: Leaf Petersen <leafp@google.com>
This commit is contained in:
parent
e664ee9bb7
commit
b3e57bd2f7
|
@ -12,9 +12,6 @@
|
|||
"org-dartlang-sdk:///lib/_internal/js_runtime/lib/async_patch.dart": {
|
||||
"Dynamic access of 'iterator'.": 1
|
||||
},
|
||||
"org-dartlang-sdk:///lib/_internal/js_runtime/lib/convert_patch.dart": {
|
||||
"Dynamic invocation of 'clear'.": 1
|
||||
},
|
||||
"org-dartlang-sdk:///lib/convert/json.dart": {
|
||||
"Dynamic invocation of 'toJson'.": 1
|
||||
},
|
||||
|
|
|
@ -221,7 +221,7 @@ class _JsonMap extends MapBase<String, dynamic> {
|
|||
// Clear the list of keys to make sure we force
|
||||
// a concurrent modification error if anyone is
|
||||
// currently iterating over it.
|
||||
_data.clear();
|
||||
_computeKeys().clear();
|
||||
}
|
||||
_original = _processed = null;
|
||||
_data = {};
|
||||
|
|
Loading…
Reference in a new issue