| Index: pkg/analyzer_cli/lib/src/analyzer_impl.dart
|
| diff --git a/pkg/analyzer_cli/lib/src/analyzer_impl.dart b/pkg/analyzer_cli/lib/src/analyzer_impl.dart
|
| index 71115e0c255774684c37d17dd1d5e0de71f2d6dd..56eaa2fbec13b396221be7e6333f8b1270788a61 100644
|
| --- a/pkg/analyzer_cli/lib/src/analyzer_impl.dart
|
| +++ b/pkg/analyzer_cli/lib/src/analyzer_impl.dart
|
| @@ -40,9 +40,6 @@ class AnalyzerImpl {
|
|
|
| final AnalysisContext context;
|
|
|
| - /// Accumulated analysis statistics.
|
| - final AnalysisStats stats;
|
| -
|
| final Source librarySource;
|
|
|
| /// All [Source]s references by the analyzed library.
|
| @@ -62,8 +59,7 @@ class AnalyzerImpl {
|
| /// specified the "--package-warnings" option.
|
| String _selfPackageName;
|
|
|
| - AnalyzerImpl(this.context, this.librarySource, this.options, this.stats,
|
| - this.startTime);
|
| + AnalyzerImpl(this.context, this.librarySource, this.options, this.startTime);
|
|
|
| /// Returns the maximal [ErrorSeverity] of the recorded errors.
|
| ErrorSeverity get maxErrorSeverity {
|
| @@ -224,8 +220,7 @@ class AnalyzerImpl {
|
| StringSink sink = options.machineFormat ? errorSink : outSink;
|
|
|
| // Print errors.
|
| - ErrorFormatter formatter =
|
| - new ErrorFormatter(sink, options, stats, _processError);
|
| + ErrorFormatter formatter = new ErrorFormatter(sink, options, _processError);
|
| formatter.formatErrors(errorInfos);
|
| }
|
|
|
|
|