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

Unified Diff: pkg/analyzer_cli/lib/src/package_analyzer.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 | « pkg/analyzer_cli/lib/src/error_formatter.dart ('k') | pkg/analyzer_cli/test/reporter_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer_cli/lib/src/package_analyzer.dart
diff --git a/pkg/analyzer_cli/lib/src/package_analyzer.dart b/pkg/analyzer_cli/lib/src/package_analyzer.dart
index fd173a369124f365f47de7fb40cd3c18b9f7dd46..418db256480b64919ab045f12693df39457f9286 100644
--- a/pkg/analyzer_cli/lib/src/package_analyzer.dart
+++ b/pkg/analyzer_cli/lib/src/package_analyzer.dart
@@ -31,7 +31,6 @@ import 'package:path/path.dart' as pathos;
*/
class PackageAnalyzer {
final CommandLineOptions options;
- final AnalysisStats stats;
String packagePath;
String packageLibPath;
@@ -40,7 +39,7 @@ class PackageAnalyzer {
InternalAnalysisContext context;
final List<Source> explicitSources = <Source>[];
- PackageAnalyzer(this.options, this.stats);
+ PackageAnalyzer(this.options);
/**
* Perform package analysis according to the given [options].
@@ -182,13 +181,11 @@ class PackageAnalyzer {
ErrorFormatter formatter = new ErrorFormatter(
sink,
options,
- stats,
(AnalysisError error) =>
AnalyzerImpl.processError(error, options, context));
for (Source source in explicitSources) {
AnalysisErrorInfo errorInfo = context.getErrors(source);
formatter.formatErrors([errorInfo]);
}
- stats.print(sink);
}
}
« no previous file with comments | « pkg/analyzer_cli/lib/src/error_formatter.dart ('k') | pkg/analyzer_cli/test/reporter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698