| Index: pkg/analyzer/lib/src/dart/element/element.dart
|
| diff --git a/pkg/analyzer/lib/src/dart/element/element.dart b/pkg/analyzer/lib/src/dart/element/element.dart
|
| index 2da9fd6d06c337ba892382898451c93bfc9067a1..b8851f9beb26ac3217bb3a116b6e70502c1454e1 100644
|
| --- a/pkg/analyzer/lib/src/dart/element/element.dart
|
| +++ b/pkg/analyzer/lib/src/dart/element/element.dart
|
| @@ -3792,22 +3792,6 @@ abstract class ExecutableElementImpl extends ElementImpl
|
|
|
| @override
|
| List<LocalVariableElement> get localVariables {
|
| - if (serializedExecutable != null && _localVariables == null) {
|
| - List<UnlinkedVariable> unlinkedVariables =
|
| - serializedExecutable.localVariables;
|
| - int length = unlinkedVariables.length;
|
| - if (length != 0) {
|
| - List<LocalVariableElementImpl> localVariables =
|
| - new List<LocalVariableElementImpl>(length);
|
| - for (int i = 0; i < length; i++) {
|
| - localVariables[i] = new LocalVariableElementImpl.forSerializedFactory(
|
| - unlinkedVariables[i], this);
|
| - }
|
| - _localVariables = localVariables;
|
| - } else {
|
| - _localVariables = const <LocalVariableElement>[];
|
| - }
|
| - }
|
| return _localVariables ?? const <LocalVariableElement>[];
|
| }
|
|
|
|
|