| 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 a4a0c8c4317aa2fcf3027dd4b327e6bac6144927..708a456e04e12682696bdebe664bd45227674563 100644
|
| --- a/pkg/analyzer/lib/src/dart/element/element.dart
|
| +++ b/pkg/analyzer/lib/src/dart/element/element.dart
|
| @@ -5383,9 +5383,9 @@ class MethodElementImpl extends ExecutableElementImpl implements MethodElement {
|
| }
|
|
|
| @override
|
| - List<DartType> get allEnclosingTypeParameterTypes {
|
| + List<TypeParameterType> get allEnclosingTypeParameterTypes {
|
| if (isStatic) {
|
| - return const <DartType>[];
|
| + return const <TypeParameterType>[];
|
| }
|
| return super.allEnclosingTypeParameterTypes;
|
| }
|
| @@ -6626,9 +6626,9 @@ class PropertyAccessorElementImpl extends ExecutableElementImpl
|
| }
|
|
|
| @override
|
| - List<DartType> get allEnclosingTypeParameterTypes {
|
| + List<TypeParameterType> get allEnclosingTypeParameterTypes {
|
| if (isStatic) {
|
| - return const <DartType>[];
|
| + return const <TypeParameterType>[];
|
| }
|
| return super.allEnclosingTypeParameterTypes;
|
| }
|
| @@ -7269,24 +7269,24 @@ abstract class TypeParameterizedElementMixin
|
| implements TypeParameterizedElement, ElementImpl {
|
| int _nestingLevel;
|
| List<TypeParameterElement> _typeParameterElements;
|
| - List<DartType> _typeParameterTypes;
|
| - List<DartType> _allTypeParameterTypes;
|
| + List<TypeParameterType> _typeParameterTypes;
|
| + List<TypeParameterType> _allTypeParameterTypes;
|
|
|
| /**
|
| * Return all type parameter types of the element that encloses element.
|
| * Not `null`, but might be empty for top-level and static class members.
|
| */
|
| - List<DartType> get allEnclosingTypeParameterTypes {
|
| + List<TypeParameterType> get allEnclosingTypeParameterTypes {
|
| return enclosingTypeParameterContext?.allTypeParameterTypes ??
|
| - const <DartType>[];
|
| + const <TypeParameterType>[];
|
| }
|
|
|
| /**
|
| * Return all type parameter types of this element.
|
| */
|
| - List<DartType> get allTypeParameterTypes {
|
| + List<TypeParameterType> get allTypeParameterTypes {
|
| if (_allTypeParameterTypes == null) {
|
| - _allTypeParameterTypes = <DartType>[];
|
| + _allTypeParameterTypes = <TypeParameterType>[];
|
| // The most logical order would be (enclosing, this).
|
| // But we have to have it like this to be consistent with (inconsistent
|
| // by itself) element builder for generic functions.
|
|
|