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

Unified Diff: pkg/analysis_server/lib/src/protocol.dart

Issue 757613002: new onPriorityChanged event stream (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix test Created 6 years, 1 month 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/protocol.dart
diff --git a/pkg/analysis_server/lib/src/protocol.dart b/pkg/analysis_server/lib/src/protocol.dart
index c4371d10ea11650b0ad223be75ffbcbb0bf0814e..2a6e978d21d5b31fa5989f7a9cdeafd69bf54964 100644
--- a/pkg/analysis_server/lib/src/protocol.dart
+++ b/pkg/analysis_server/lib/src/protocol.dart
@@ -777,9 +777,9 @@ class Response {
* by a `analysis.setPriorityFiles` [request] that includes one or more files
* that are not being analyzed.
*/
- Response.unanalyzedPriorityFiles(Request request, String fileNames)
+ Response.unanalyzedPriorityFiles(String requestId, String fileNames)
: this(
- request.id,
+ requestId,
error: new RequestError(
RequestErrorCode.UNANALYZED_PRIORITY_FILES,
"Unanalyzed files cannot be a priority: '$fileNames'"));

Powered by Google App Engine
This is Rietveld 408576698