| Index: pkg/front_end/lib/src/fasta/fasta.dart
|
| diff --git a/pkg/front_end/lib/src/fasta/fasta.dart b/pkg/front_end/lib/src/fasta/fasta.dart
|
| index e47b826f2771e683cdfc9ca0f99ba9c0b0f94a44..ce753f7c6af2a4c60baaa3aed037ff752ea2c666 100644
|
| --- a/pkg/front_end/lib/src/fasta/fasta.dart
|
| +++ b/pkg/front_end/lib/src/fasta/fasta.dart
|
| @@ -81,8 +81,9 @@ Future<KernelTarget> outline(List<String> arguments) async {
|
| });
|
| } on deprecated_InputError catch (e) {
|
| exitCode = 1;
|
| - CompilerContext.current
|
| - .report(deprecated_InputError.toMessage(e), Severity.error);
|
| + CompilerCommandLine.deprecated_withDefaultOptions(() => CompilerContext
|
| + .current
|
| + .report(deprecated_InputError.toMessage(e), Severity.error));
|
| return null;
|
| }
|
| }
|
| @@ -100,8 +101,9 @@ Future<Uri> compile(List<String> arguments) async {
|
| });
|
| } on deprecated_InputError catch (e) {
|
| exitCode = 1;
|
| - CompilerContext.current
|
| - .report(deprecated_InputError.toMessage(e), Severity.error);
|
| + CompilerCommandLine.deprecated_withDefaultOptions(() => CompilerContext
|
| + .current
|
| + .report(deprecated_InputError.toMessage(e), Severity.error));
|
| return null;
|
| }
|
| }
|
|
|