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

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

Issue 509073008: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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 | « no previous file | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698