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

Unified Diff: pkg/front_end/tool/_fasta/analyzer_compile.dart

Issue 2970273004: Deprecate all diagnostics methods that use strings. (Closed)
Patch Set: Merged with 4df146dd9a465d63344330bf3e45524b927c92ec Created 3 years, 5 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/front_end/test/fasta/testing/suite.dart ('k') | pkg/front_end/tool/_fasta/log_collector.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/tool/_fasta/analyzer_compile.dart
diff --git a/pkg/front_end/tool/_fasta/analyzer_compile.dart b/pkg/front_end/tool/_fasta/analyzer_compile.dart
index 8660520fee9240bf658ea9643a448ed01f002fc2..bc35acbb27779d33acfa3c9be06ce797b57d7737 100644
--- a/pkg/front_end/tool/_fasta/analyzer_compile.dart
+++ b/pkg/front_end/tool/_fasta/analyzer_compile.dart
@@ -19,7 +19,8 @@ import 'package:front_end/src/fasta/ticker.dart' show Ticker;
import 'package:front_end/src/fasta/fasta.dart' show CompileTask;
-import 'package:front_end/src/fasta/errors.dart' show InputError;
+import 'package:front_end/src/fasta/deprecated_problems.dart'
+ show deprecated_InputError;
import 'package:front_end/src/fasta/dill/dill_target.dart' show DillTarget;
@@ -38,9 +39,9 @@ Future<Uri> compile(List<String> arguments) async {
new AnalyzerCompileTask(c, new Ticker(isVerbose: c.options.verbose));
return await task.compile();
});
- } on InputError catch (e) {
+ } on deprecated_InputError catch (e) {
exitCode = 1;
- print(e.format());
+ print(e.deprecated_format());
return null;
}
}
« no previous file with comments | « pkg/front_end/test/fasta/testing/suite.dart ('k') | pkg/front_end/tool/_fasta/log_collector.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698