Index: pkg/compiler/lib/src/parser/parser_task.dart |
diff --git a/pkg/compiler/lib/src/parser/parser_task.dart b/pkg/compiler/lib/src/parser/parser_task.dart |
index b9d89ef6f77437e71404a13c9544e26af0f3ec47..24429addcc9db3b0213a2ad08c1684ff3d70fe83 100644 |
--- a/pkg/compiler/lib/src/parser/parser_task.dart |
+++ b/pkg/compiler/lib/src/parser/parser_task.dart |
@@ -34,7 +34,7 @@ class ParserTask extends CompilerTask { |
Node parseCompilationUnit(Token token) { |
return measure(() { |
- NodeListener listener = new NodeListener(compiler, null); |
+ NodeListener listener = new NodeListener(reporter, null); |
Parser parser = new Parser(listener); |
try { |
parser.parseUnit(token); |