Index: pkg/front_end/lib/src/fasta/compiler_command_line.dart |
diff --git a/pkg/front_end/lib/src/fasta/compiler_command_line.dart b/pkg/front_end/lib/src/fasta/compiler_command_line.dart |
index 01c656aa868b3a1a252530bd7513da7e7f174c96..7788309d1c0e1e6e13308944709b0e9f35187375 100644 |
--- a/pkg/front_end/lib/src/fasta/compiler_command_line.dart |
+++ b/pkg/front_end/lib/src/fasta/compiler_command_line.dart |
@@ -83,6 +83,8 @@ class CompilerCommandLine extends CommandLine { |
bool get nitsAreFatal => fatal.contains("nits"); |
+ bool get strongMode => options.containsKey("--strong-mode"); |
+ |
static dynamic withGlobalOptions(String programName, List<String> arguments, |
dynamic f(CompilerContext context)) { |
return CompilerContext.withGlobalOptions( |