Index: pkg/analysis_server/lib/src/domain_server.dart |
diff --git a/pkg/analysis_server/lib/src/domain_server.dart b/pkg/analysis_server/lib/src/domain_server.dart |
index 3924d1ad31a9fb9e16c37d21b4ee33d891b923b2..40b0205088cb818a8758f437502dba0a090bc33f 100644 |
--- a/pkg/analysis_server/lib/src/domain_server.dart |
+++ b/pkg/analysis_server/lib/src/domain_server.dart |
@@ -117,7 +117,7 @@ class ServerDomainHandler implements RequestHandler { |
return new Response(request.id, new RequestError( |
RequestError.CODE_SDK_ERROR, 'Failed to access sdk: $e')); |
} |
- context.sourceFactory = new SourceFactory.con2([ |
+ context.sourceFactory = new SourceFactory([ |
new DartUriResolver(sdk), |
new FileUriResolver(), |
// new PackageUriResolver(), |