Index: pkg/analysis_server/lib/src/channel/web_socket_channel.dart |
diff --git a/pkg/analysis_server/lib/src/channel/web_socket_channel.dart b/pkg/analysis_server/lib/src/channel/web_socket_channel.dart |
index 961bee60d9ead935927e2aa31c00430c42b94b05..0368eb64a6e5726a41a4d359dabafc750289eccf 100644 |
--- a/pkg/analysis_server/lib/src/channel/web_socket_channel.dart |
+++ b/pkg/analysis_server/lib/src/channel/web_socket_channel.dart |
@@ -90,7 +90,7 @@ class WebSocketServerChannel implements ServerCommunicationChannel { |
@override |
void listen(void onRequest(Request request), |
- {void onError(), void onDone()}) { |
+ {Function onError, void onDone()}) { |
socket.listen((data) => readRequest(data, onRequest), |
onError: onError, onDone: onDone); |
} |