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 0cd6c4681fadc8d8147fe39cbe1e24f44a7a7ed7..3403469581fc1410e97f041387a4f2be88b37ce6 100644 |
--- a/pkg/front_end/lib/src/fasta/compile_platform.dart |
+++ b/pkg/front_end/lib/src/fasta/compile_platform.dart |
@@ -37,8 +37,9 @@ Future mainEntryPoint(List<String> arguments) async { |
await compilePlatform(arguments); |
} 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; |
} |
} |