| Index: pkg/analyzer/lib/dart/element/element.dart
|
| diff --git a/pkg/analyzer/lib/dart/element/element.dart b/pkg/analyzer/lib/dart/element/element.dart
|
| index 370f53ef1244ddc75964f2df1e86406f2b128f78..d210229d602c3ce908b4f0432301af4c07fba5e5 100644
|
| --- a/pkg/analyzer/lib/dart/element/element.dart
|
| +++ b/pkg/analyzer/lib/dart/element/element.dart
|
| @@ -1911,7 +1911,12 @@ abstract class VariableElement implements Element, ConstantEvaluationTarget {
|
| * closure. This information is only available for local variables (including
|
| * parameters) and only after the compilation unit containing the variable has
|
| * been resolved.
|
| + *
|
| + * This getter is deprecated--it now returns `true` for all local variables
|
| + * and parameters. Please use [FunctionBody.isPotentiallyMutatedInClosure]
|
| + * instead.
|
| */
|
| + @deprecated
|
| bool get isPotentiallyMutatedInClosure;
|
|
|
| /**
|
| @@ -1919,7 +1924,12 @@ abstract class VariableElement implements Element, ConstantEvaluationTarget {
|
| * scope. This information is only available for local variables (including
|
| * parameters) and only after the compilation unit containing the variable has
|
| * been resolved.
|
| + *
|
| + * This getter is deprecated--it now returns `true` for all local variables
|
| + * and parameters. Please use [FunctionBody.isPotentiallyMutatedInClosure]
|
| + * instead.
|
| */
|
| + @deprecated
|
| bool get isPotentiallyMutatedInScope;
|
|
|
| /**
|
|
|