Index: pkg/analysis_server/lib/src/analysis_server.dart |
diff --git a/pkg/analysis_server/lib/src/analysis_server.dart b/pkg/analysis_server/lib/src/analysis_server.dart |
index 0e6efc2b16a66038c5dc71337d026548dbfa313e..b101f37bef48dcddd06b4d76c5ac15fe03754fb8 100644 |
--- a/pkg/analysis_server/lib/src/analysis_server.dart |
+++ b/pkg/analysis_server/lib/src/analysis_server.dart |
@@ -564,7 +564,7 @@ class AnalysisServer { |
List<CompilationUnit> units = getResolvedCompilationUnits(file); |
List<AstNode> nodes = <AstNode>[]; |
for (CompilationUnit unit in units) { |
- AstNode node = new NodeLocator.con1(offset).searchWithin(unit); |
+ AstNode node = new NodeLocator(offset).searchWithin(unit); |
if (node != null) { |
nodes.add(node); |
} |
@@ -1139,7 +1139,7 @@ class AnalysisServer { |
// |
folderMap.forEach((Folder folder, AnalysisContext context) { |
AnalysisOptionsImpl options = |
- new AnalysisOptionsImpl.con1(context.analysisOptions); |
+ new AnalysisOptionsImpl.from(context.analysisOptions); |
optionUpdaters.forEach((OptionUpdater optionUpdater) { |
optionUpdater(options); |
}); |
@@ -1321,7 +1321,7 @@ class ServerContextManager extends ContextManager { |
context.contentCache = analysisServer.overlayState; |
analysisServer.folderMap[folder] = context; |
context.sourceFactory = _createSourceFactory(packageUriResolver); |
- context.analysisOptions = new AnalysisOptionsImpl.con1(defaultOptions); |
+ context.analysisOptions = new AnalysisOptionsImpl.from(defaultOptions); |
_onContextsChangedController |
.add(new ContextsChangedEvent(added: [context])); |
analysisServer.schedulePerformAnalysisOperation(context); |