Index: pkg/compiler/lib/src/resolution/type_resolver.dart |
diff --git a/pkg/compiler/lib/src/resolution/type_resolver.dart b/pkg/compiler/lib/src/resolution/type_resolver.dart |
index 529c1fe5b466d81befc2642f82136a40cce5dd56..3d45c9d632fcd4388e737e8e063b209b89dee71e 100644 |
--- a/pkg/compiler/lib/src/resolution/type_resolver.dart |
+++ b/pkg/compiler/lib/src/resolution/type_resolver.dart |
@@ -192,7 +192,8 @@ class TypeResolver { |
assert(visibleTypeParameterNames != null); |
if (node.typeParameters != null) { |
- List<String> newTypeNames = node.typeParameters.map((TypeVariable node) { |
+ List<String> newTypeNames = node.typeParameters.map((_node) { |
+ TypeVariable node = _node; |
return node.name.asIdentifier().source; |
}).toList(); |
visibleTypeParameterNames = visibleTypeParameterNames.toList() |