Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: pkg/analysis_server/lib/src/channel/web_socket_channel.dart

Issue 1842063003: Start making server strong mode clean (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Remove unintended change Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698