Index: tests/compiler/dart2js/serialization_resolved_ast_test.dart |
diff --git a/tests/compiler/dart2js/serialization_resolved_ast_test.dart b/tests/compiler/dart2js/serialization_resolved_ast_test.dart |
index 7712f9a44a1e64b061b1471c560149ea654ecbd1..430f9fecfaf10519468dcd0c6b6bc8037e3464b8 100644 |
--- a/tests/compiler/dart2js/serialization_resolved_ast_test.dart |
+++ b/tests/compiler/dart2js/serialization_resolved_ast_test.dart |
@@ -68,7 +68,8 @@ void checkAllResolvedAsts( |
compiler1, |
compiler2, |
(Element member1) { |
- return compiler1.resolution.hasResolvedAst(member1); |
+ return member1 is ExecutableElement && |
+ compiler1.resolution.hasResolvedAst(member1); |
}, |
checkResolvedAsts, |
verbose: verbose); |