Index: tests/compiler/dart2js/semantic_visitor_test.dart |
diff --git a/tests/compiler/dart2js/semantic_visitor_test.dart b/tests/compiler/dart2js/semantic_visitor_test.dart |
index 3376a67f5592a0f2645973ab80cc901f4ae71940..f8ea57fb2f6bdaa676552df3e6d6dc846313fd0a 100644 |
--- a/tests/compiler/dart2js/semantic_visitor_test.dart |
+++ b/tests/compiler/dart2js/semantic_visitor_test.dart |
@@ -330,7 +330,7 @@ Future test(Set<VisitKind> unvisitedKinds, |
ResolvedAst resolvedAst = astElement.resolvedAst; |
SemanticTestVisitor visitor = createVisitor(resolvedAst.elements); |
try { |
- compiler.withCurrentElement(resolvedAst.element, () { |
+ compiler.reporter.withCurrentElement(resolvedAst.element, () { |
//print(resolvedAst.node.toDebugString()); |
resolvedAst.node.accept(visitor); |
}); |