Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(473)

Unified Diff: pkg/analyzer_cli/lib/src/analyzer_impl.dart

Issue 1811753002: Revert "Directory support for the analyzer CLI (#25129)." [TBR] (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analyzer_cli/lib/src/driver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « no previous file | pkg/analyzer_cli/lib/src/driver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698