Index: tests/compiler/dart2js/analyze_dart2js_helpers_test.dart |
diff --git a/tests/compiler/dart2js/analyze_dart2js_helpers_test.dart b/tests/compiler/dart2js/analyze_dart2js_helpers_test.dart |
index e774726010741c55e6d50e6355a1ea5acb6a5ad6..7f531eb2a686fdd3edafee166f6339d737a747b6 100644 |
--- a/tests/compiler/dart2js/analyze_dart2js_helpers_test.dart |
+++ b/tests/compiler/dart2js/analyze_dart2js_helpers_test.dart |
@@ -94,7 +94,7 @@ class HelperAnalyzer extends TraversalVisitor { |
} |
void analyze(ResolvedAst resolvedAst) { |
- if (resolvedAst.node == null) { |
+ if (resolvedAst.kind != ResolvedAstKind.PARSED) { |
// Skip synthesized members. |
return; |
} |