Index: pkg/analyzer_cli/lib/src/driver.dart |
diff --git a/pkg/analyzer_cli/lib/src/driver.dart b/pkg/analyzer_cli/lib/src/driver.dart |
index a05f81ed877110f0ba1f9b0b7261338319a05244..e1ac76936fe419060231e74620442bba9708e6e8 100644 |
--- a/pkg/analyzer_cli/lib/src/driver.dart |
+++ b/pkg/analyzer_cli/lib/src/driver.dart |
@@ -245,7 +245,7 @@ class Driver implements CommandLineStarter { |
ErrorSeverity _buildModeAnalyze(CommandLineOptions options) { |
return _analyzeAllTag.makeCurrentWhile(() { |
if (options.buildModePersistentWorker) { |
- new WorkerLoop.std(dartSdkPath: options.dartSdkPath).run(); |
+ new AnalyzerWorkerLoop.std(dartSdkPath: options.dartSdkPath).run(); |
} else { |
return new BuildMode(options, stats).analyze(); |
} |