Skip to content

Commit 32c12a5

Browse files
committed
updated dart_scope to not renamed wildcard and skipped related test case
1 parent 1bc9d5c commit 32c12a5

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

dwds/lib/src/debugging/dart_scope.dart

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,6 @@ Future<List<Property>> visibleVariables({
6060
final objectId = scope.object.objectId;
6161
if (objectId != null) {
6262
final properties = await inspector.getProperties(objectId);
63-
for (final property in properties) {
64-
if (property.name == '_\$35wc2\$35formal') {
65-
final newProperty = Property({
66-
'name': '_',
67-
'value': property.value,
68-
});
69-
properties.remove(property);
70-
properties.add(newProperty);
71-
}
72-
}
7363
allProperties.addAll(properties);
7464
}
7565
}

dwds/test/common/chrome_proxy_service_common.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1555,7 +1555,9 @@ void runTests({
15551555
expect(first.vars, hasLength(greaterThanOrEqualTo(1)));
15561556
final underscore = first.vars!.firstWhere((v) => v.name == '_');
15571557
expect(underscore, isNotNull);
1558-
});
1558+
},
1559+
skip: 'https://github.com/dart-lang/webdev/issues/2570',
1560+
);
15591561

15601562
test('collects async frames', () async {
15611563
final stack = await breakAt('asyncCall');

0 commit comments

Comments
 (0)