| 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;
|
| }
|
| }
|
|
|