Index: lib/compiler/implementation/resolution/scope.dart |
diff --git a/lib/compiler/implementation/resolution/scope.dart b/lib/compiler/implementation/resolution/scope.dart |
index f50a9f627c966e6256f89bd9556ebb52fc73a69d..d25f8c1c3d7fd122cfc1ddd3da074b3f6292c387 100644 |
--- a/lib/compiler/implementation/resolution/scope.dart |
+++ b/lib/compiler/implementation/resolution/scope.dart |
@@ -62,7 +62,7 @@ class TypeDeclarationScope extends NestedScope { |
Element lookupTypeVariable(SourceString name) { |
Link<DartType> typeVariableLink = element.typeVariables; |
- while (!typeVariableLink.isEmpty()) { |
+ while (!typeVariableLink.isEmpty) { |
TypeVariableType typeVariable = typeVariableLink.head; |
if (typeVariable.name == name) { |
return typeVariable.element; |