| Index: pkg/analyzer/lib/src/generated/element.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/element.dart b/pkg/analyzer/lib/src/generated/element.dart
|
| index 0ea30f89c1fa42b262243e15fa7a2b1a8db260db..2cb282ace9656276ac5a4f14308b8ce6eac672bc 100644
|
| --- a/pkg/analyzer/lib/src/generated/element.dart
|
| +++ b/pkg/analyzer/lib/src/generated/element.dart
|
| @@ -10982,11 +10982,6 @@ class TypeParameterTypeImpl extends TypeImpl implements TypeParameterType {
|
| static List<TypeParameterType> EMPTY_ARRAY = new List<TypeParameterType>(0);
|
|
|
| /**
|
| - * The name of the type Type from dart.core.
|
| - */
|
| - static String _TYPE_CLASS_NAME = "Type";
|
| -
|
| - /**
|
| * Return an array containing the type parameter types defined by the given array of type
|
| * parameter elements.
|
| *
|
| @@ -11061,14 +11056,6 @@ class TypeParameterTypeImpl extends TypeImpl implements TypeParameterType {
|
|
|
| bool _isMoreSpecificThan(DartType s, Set<DartType> visitedTypes, bool withDynamic, Set<TypeImpl_TypePair> visitedTypePairs) {
|
| //
|
| - // If s is of type Type from dart.core, return true
|
| - //
|
| - Element sElement = s.element;
|
| - LibraryElement sLibrary = sElement != null ? sElement.library : null;
|
| - if (sLibrary != null && sLibrary.isDartCore && s.name == _TYPE_CLASS_NAME) {
|
| - return true;
|
| - }
|
| - //
|
| // T is a type parameter and S is the upper bound of T.
|
| //
|
| DartType bound = element.bound;
|
|
|