Chromium Code Reviews| 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 1da0ba49fee2b5ac5dd93c08794b8662f2900465..fae8c53990b9db38388d0a1996028ed1ac1839d3 100644 |
| --- a/pkg/analysis_server/lib/src/protocol.dart |
| +++ b/pkg/analysis_server/lib/src/protocol.dart |
| @@ -537,6 +537,14 @@ class Response { |
| : this(request.id, new RequestError(-11, "Unanalyzed files cannot be a priority: '$fileNames'")); |
| /** |
| + * Initialize a newly created instance to represent an error condition caused |
| + * by a `analysis.updateOptions` [request] that includes an unknown analysis |
| + * option. |
| + */ |
| + Response.unknownOptionName(Request request, String optionName) |
| + : this(request.id, new RequestError(-12, 'Unknown analysis option: "$optionName"')); |
|
Paul Berry
2014/06/17 20:40:54
I have a vague memory that we decided to simply ig
Brian Wilkerson
2014/06/17 21:30:12
We thought it might help with version skew issues,
Paul Berry
2014/06/17 22:24:56
Now that I think about it again, I don't really ha
|
| + |
| + /** |
| * Initialize a newly created instance based upon the given JSON data |
| */ |
| factory Response.fromJson(Map<String, Object> json) { |