Index: pkg/analyzer/lib/src/task/options.dart |
diff --git a/pkg/analyzer/lib/src/task/options.dart b/pkg/analyzer/lib/src/task/options.dart |
index dd544cad78c582c194604a63ad17fffc6c167d38..58d76ac5acb1d0bcb17ecdb04a1c9eab60ec9ca9 100644 |
--- a/pkg/analyzer/lib/src/task/options.dart |
+++ b/pkg/analyzer/lib/src/task/options.dart |
@@ -48,6 +48,8 @@ class AnalyzerOptions { |
static const String enableAssertInitializer = 'enableAssertInitializer'; |
static const String enableAsync = 'enableAsync'; |
static const String enableGenericMethods = 'enableGenericMethods'; |
+ static const String enableInitializingFormalAccess = |
+ 'enableInitializingFormalAccess'; |
static const String enableStrictCallChecks = 'enableStrictCallChecks'; |
static const String enableSuperMixins = 'enableSuperMixins'; |
@@ -566,6 +568,8 @@ class _OptionsProcessor { |
options.enableAssertInitializer = boolValue; |
} else if (feature == AnalyzerOptions.enableAsync) { |
options.enableAsync = boolValue; |
+ } else if (feature == AnalyzerOptions.enableInitializingFormalAccess) { |
+ options.enableInitializingFormalAccess = boolValue; |
} else if (feature == AnalyzerOptions.enableSuperMixins) { |
options.enableSuperMixins = boolValue; |
} else if (feature == AnalyzerOptions.enableGenericMethods) { |