Index: pkg/analysis_server/lib/src/domain_analysis.dart |
diff --git a/pkg/analysis_server/lib/src/domain_analysis.dart b/pkg/analysis_server/lib/src/domain_analysis.dart |
index 9621afbeda6c69e910725b8e368f8ba20f951213..eda11af60e4dd4e74c2208356a998195e0e7654c 100644 |
--- a/pkg/analysis_server/lib/src/domain_analysis.dart |
+++ b/pkg/analysis_server/lib/src/domain_analysis.dart |
@@ -133,6 +133,10 @@ class AnalysisDomainHandler implements RequestHandler { |
* Implement the `analysis.getNavigation` request. |
*/ |
Response getNavigation(Request request) { |
+ if (server.options.enableNewAnalysisDriver) { |
+ // TODO(scheglov) implement for the new analysis driver |
+ return new Response.getNavigationInvalidFile(request); |
+ } |
var params = new AnalysisGetNavigationParams.fromRequest(request); |
String file = params.file; |
Future<AnalysisDoneReason> analysisFuture = |