Index: dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart |
=================================================================== |
--- dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart (revision 36206) |
+++ dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart (working copy) |
@@ -3768,7 +3768,7 @@ |
const Link<TypeVariableElement>(); |
seenTypeVariables = seenTypeVariables.prepend(variableElement); |
DartType bound = boundType; |
- while (bound.element.isTypeVariable()) { |
+ while (bound.kind == TypeKind.TYPE_VARIABLE) { |
TypeVariableElement element = bound.element; |
if (seenTypeVariables.contains(element)) { |
if (identical(element, variableElement)) { |