Index: tests/compiler/dart2js/related_types.dart |
diff --git a/tests/compiler/dart2js/related_types.dart b/tests/compiler/dart2js/related_types.dart |
index 580dd149e141cba72ae8d3f261f416d6c99c2483..d3609ffceb5f126ce1ae513a9dcf6f355c32c586 100644 |
--- a/tests/compiler/dart2js/related_types.dart |
+++ b/tests/compiler/dart2js/related_types.dart |
@@ -47,7 +47,8 @@ void checkLibraryElement(Compiler compiler, LibraryElement library) { |
library.forEachLocalMember((Element element) { |
if (element.isClass) { |
ClassElement cls = element; |
- cls.forEachLocalMember((MemberElement member) { |
+ cls.forEachLocalMember((_member) { |
+ MemberElement member = _member; |
checkMemberElement(compiler, member); |
}); |
} else if (!element.isTypedef) { |