Index: pkg/compiler/lib/src/options.dart |
diff --git a/pkg/compiler/lib/src/options.dart b/pkg/compiler/lib/src/options.dart |
index f490329e7afc9997f9053e0fb59fd02d6bfb6d75..65ea1b809498d2cfa8be8221ebac6ee7a77dfb06 100644 |
--- a/pkg/compiler/lib/src/options.dart |
+++ b/pkg/compiler/lib/src/options.dart |
@@ -289,7 +289,7 @@ class CompilerOptions implements DiagnosticOptions, ParserOptions { |
dumpInfo: _hasOption(options, Flags.dumpInfo), |
enableAssertMessage: _hasOption(options, Flags.enableAssertMessage), |
enableGenericMethodSyntax: |
- true, // No check for `Flags.genericMethodSyntax`: always enabled. |
+ _hasOption(options, Flags.genericMethodSyntax), |
enableInitializingFormalAccess: |
_hasOption(options, Flags.initializingFormalAccess), |
enableExperimentalMirrors: |