[ddc] Cleanup dynamic calls in debugger helper lib

Change-Id: Ie31f398f8c438ebf64700b631dff25d6d01bb1e3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/355545
Commit-Queue: Nicholas Shahan <nshahan@google.com>
Reviewed-by: Mark Zhou <markzipan@google.com>
This commit is contained in:
Nicholas Shahan 2024-03-05 20:32:23 +00:00 committed by Commit Queue
parent 8605d7e682
commit 59ad7082cc
2 changed files with 1 additions and 5 deletions

View file

@ -1,8 +1,4 @@
{
"sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/debugger.dart": {
"Dynamic access of 'last'.": 1,
"Dynamic invocation of 'split'.": 1
},
"sdk/lib/_internal/js_dev_runtime/private/debugger.dart": {
"Dynamic invocation of 'toJsonML'.": 1,
"Dynamic update to 'style'.": 3,

View file

@ -514,7 +514,7 @@ bool _isDartClassObject(@notNull Object object) =>
@notNull
String _dartClassName(@notNull Object cls) {
var recipe = _get(cls, rti.interfaceTypeRecipePropertyName);
String recipe = _get(cls, rti.interfaceTypeRecipePropertyName);
return recipe.split('|').last;
}