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