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

Unified Diff: pkg/front_end/lib/src/fasta/compile_platform.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
Index: pkg/front_end/lib/src/fasta/compile_platform.dart
diff --git a/pkg/front_end/lib/src/fasta/compile_platform.dart b/pkg/front_end/lib/src/fasta/compile_platform.dart
index 5ab6acf899534d534c1c2e97b559ffae5e3820e0..3806ed97ba864d23ddae28abea4394fb225c5d8c 100644
--- a/pkg/front_end/lib/src/fasta/compile_platform.dart
+++ b/pkg/front_end/lib/src/fasta/compile_platform.dart
@@ -18,7 +18,7 @@ import 'compiler_command_line.dart' show CompilerCommandLine;
import 'compiler_context.dart' show CompilerContext;
-import 'errors.dart' show InputError;
+import 'deprecated_problems.dart' show deprecated_InputError;
import 'kernel/utils.dart' show writeProgramToFile;
@@ -33,9 +33,9 @@ Future mainEntryPoint(List<String> arguments) async {
}
try {
await compilePlatform(arguments);
- } 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/lib/src/fasta/command_line.dart ('k') | pkg/front_end/lib/src/fasta/compiler_command_line.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698