Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Unified Diff: pkg/analyzer/lib/src/generated/engine.dart

Issue 2335693002: Add support for accessing field formal parameters in the initializer list of constructors (Closed)
Patch Set: Clean up Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/dart/resolver/scope.dart ('k') | pkg/analyzer/lib/src/generated/resolver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/engine.dart
diff --git a/pkg/analyzer/lib/src/generated/engine.dart b/pkg/analyzer/lib/src/generated/engine.dart
index 36f18024ae7dd70709d8c0f36c9d8c49be28eee4..c3093a22fafbf0119490490698e13a4e82e65018 100644
--- a/pkg/analyzer/lib/src/generated/engine.dart
+++ b/pkg/analyzer/lib/src/generated/engine.dart
@@ -1077,6 +1077,12 @@ abstract class AnalysisOptions {
bool get enableGenericMethods => null;
/**
+ * Return `true` if access to field formal parameters should be allowed in a
+ * constructor's initializer list.
+ */
+ bool get enableInitializingFormalAccess;
+
+ /**
* Return `true` to enable the lazy compound assignment operators '&&=' and
* '||='.
*/
@@ -1228,6 +1234,9 @@ class AnalysisOptionsImpl implements AnalysisOptions {
bool enableGenericMethods = false;
@override
+ bool enableInitializingFormalAccess = false;
+
+ @override
bool enableLazyAssignmentOperators = false;
@override
@@ -1325,6 +1334,7 @@ class AnalysisOptionsImpl implements AnalysisOptions {
enableAsync = options.enableAsync;
enableStrictCallChecks = options.enableStrictCallChecks;
enableGenericMethods = options.enableGenericMethods;
+ enableInitializingFormalAccess = options.enableInitializingFormalAccess;
enableSuperMixins = options.enableSuperMixins;
enableTiming = options.enableTiming;
generateImplicitErrors = options.generateImplicitErrors;
« no previous file with comments | « pkg/analyzer/lib/src/dart/resolver/scope.dart ('k') | pkg/analyzer/lib/src/generated/resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698