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

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

Issue 2865403005: Remove an obsolete error from the spec and an obsolete command-line flag (Closed)
Patch Set: Created 3 years, 7 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/socket_server.dart
diff --git a/pkg/analysis_server/lib/src/socket_server.dart b/pkg/analysis_server/lib/src/socket_server.dart
index 9c28c942f2c18962ba7f4cb02612d7f1c9f8cce1..8e7662ca6087c9cace69647a0cff0cfab2b6a7ce 100644
--- a/pkg/analysis_server/lib/src/socket_server.dart
+++ b/pkg/analysis_server/lib/src/socket_server.dart
@@ -88,16 +88,11 @@ class SocketServer {
'File read mode was set to the unknown mode: $analysisServerOptions.fileReadMode');
}
- Index index = null;
- if (!analysisServerOptions.noIndex) {
- index = createMemoryIndex();
- }
-
analysisServer = new AnalysisServer(
serverChannel,
resourceProvider,
new PubPackageMapProvider(resourceProvider, defaultSdk),
- index,
+ createMemoryIndex(),
serverPlugin,
analysisServerOptions,
sdkManager,
« no previous file with comments | « pkg/analysis_server/lib/src/server/driver.dart ('k') | pkg/analysis_server/test/integration/support/protocol_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698