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 d5abd12a33733847bc0faf77001b55feb6deaf66..c5c214cd68827654c36c536a664415f06a33d3d9 100644 |
--- a/pkg/analysis_server/lib/src/socket_server.dart |
+++ b/pkg/analysis_server/lib/src/socket_server.dart |
@@ -43,8 +43,12 @@ class SocketServer { |
*/ |
List<Plugin> userDefinedPlugins; |
- SocketServer(this.analysisServerOptions, this.defaultSdk, |
- this.instrumentationService, this.serverPlugin, this.contextManager, |
+ SocketServer( |
+ this.analysisServerOptions, |
+ this.defaultSdk, |
+ this.instrumentationService, |
+ this.serverPlugin, |
+ this.contextManager, |
this.packageResolverProvider); |
/** |
@@ -80,9 +84,15 @@ class SocketServer { |
index.run(); |
} |
- analysisServer = new AnalysisServer(serverChannel, resourceProvider, |
- new PubPackageMapProvider(resourceProvider, defaultSdk), index, |
- serverPlugin, analysisServerOptions, defaultSdk, instrumentationService, |
+ analysisServer = new AnalysisServer( |
+ serverChannel, |
+ resourceProvider, |
+ new PubPackageMapProvider(resourceProvider, defaultSdk), |
+ index, |
+ serverPlugin, |
+ analysisServerOptions, |
+ defaultSdk, |
+ instrumentationService, |
contextManager: contextManager, |
packageResolverProvider: packageResolverProvider, |
rethrowExceptions: false); |