Index: tests/compiler/dart2js/type_checker_test.dart |
diff --git a/tests/compiler/dart2js/type_checker_test.dart b/tests/compiler/dart2js/type_checker_test.dart |
index 446062feffe6474a62c2bba4ba1d3a9c6fb33984..0b3fb873e989ce1e2249ddb3cd83e4c8968a8a80 100644 |
--- a/tests/compiler/dart2js/type_checker_test.dart |
+++ b/tests/compiler/dart2js/type_checker_test.dart |
@@ -2513,13 +2513,13 @@ analyzeTopLevel(String text, [expectedWarnings]) { |
classElement.forEachLocalMember((Element e) { |
if (!e.isSynthesized) { |
element = e; |
- node = element.parseNode(compiler.parsing); |
+ node = element.parseNode(compiler.parsingContext); |
compiler.resolver.resolve(element); |
mapping = element.treeElements; |
} |
}); |
} else { |
- node = element.parseNode(compiler.parsing); |
+ node = element.parseNode(compiler.parsingContext); |
compiler.resolver.resolve(element); |
mapping = element.treeElements; |
} |