Skip to content

Commit 8f4de46

Browse files
authored
ChromeProxyService implements noSuchMethod (#1448)
1 parent e0ffb5e commit 8f4de46

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

dwds/lib/src/services/chrome_proxy_service.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,6 +1049,13 @@ ${globalLoadStrategy.loadModuleSnippet}("dart_sdk").developer.invokeExtension(
10491049
// TODO(https://github.com/dart-lang/webdev/issues/1446): implement.
10501050
throw UnimplementedError();
10511051
}
1052+
1053+
/// Prevent DWDS from blocking Dart SDK rolls if changes in package:vm_service
1054+
/// are unimplemented in DWDS.
1055+
@override
1056+
dynamic noSuchMethod(Invocation invocation) {
1057+
return super.noSuchMethod(invocation);
1058+
}
10521059
}
10531060

10541061
/// The `type`s of [ConsoleAPIEvent]s that are treated as `stderr` logs.

dwds/pubspec.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ dependencies:
3232
stack_trace: ^1.10.0
3333
sse: ^4.1.0
3434
uuid: '>=2.0.0 <4.0.0'
35-
# We pin the version because we implement the interface.
36-
vm_service: 7.4.0
35+
vm_service: ^7.4.0
3736
web_socket_channel: ^2.0.0
3837
webkit_inspection_protocol: ^1.0.0
3938

0 commit comments

Comments
 (0)