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 dc59a162c7acbea03931c74f141e3a3b03281571..045d2bee336a77fb70f8f0dd17681e094120f6dd 100644 |
--- a/tests/compiler/dart2js/type_checker_test.dart |
+++ b/tests/compiler/dart2js/type_checker_test.dart |
@@ -2550,7 +2550,7 @@ analyze(MockCompiler compiler, |
compiler.diagnosticHandler = createHandler(compiler, text); |
Token tokens = scan(text); |
- NodeListener listener = new NodeListener(compiler, null); |
+ NodeListener listener = new NodeListener(compiler.reporter, null); |
Parser parser = new Parser(listener); |
parser.parseStatement(tokens); |
Node node = listener.popNode(); |
@@ -2597,7 +2597,7 @@ analyzeIn(MockCompiler compiler, |
compiler.resolver.resolve(element); |
Token tokens = scan(text); |
- NodeListener listener = new NodeListener(compiler, null); |
+ NodeListener listener = new NodeListener(compiler.reporter, null); |
Parser parser = new Parser(listener, |
yieldIsKeyword: element.asyncMarker.isYielding, |
awaitIsKeyword: element.asyncMarker.isAsync); |