Index: tests/compiler/dart2js/related_types_test.dart |
diff --git a/tests/compiler/dart2js/related_types_test.dart b/tests/compiler/dart2js/related_types_test.dart |
index a2ca1508fe92bd6d2b7d9c8f8a97317bf303c3e3..ecc40d0d3f1bfc9a58288afa53b8d7f8651691ef 100644 |
--- a/tests/compiler/dart2js/related_types_test.dart |
+++ b/tests/compiler/dart2js/related_types_test.dart |
@@ -272,7 +272,8 @@ main(List<String> arguments) { |
compiler.frontendStrategy.elementEnvironment; |
compiler.closeResolution(elementEnvironment.mainFunction); |
- void checkMember(MemberElement member) { |
+ void checkMember(Element element) { |
+ MemberElement member = element; |
if (!member.name.startsWith('test_')) return; |
collector.clear(); |