Index: pkg/compiler/lib/src/parser/diet_parser_task.dart |
diff --git a/pkg/compiler/lib/src/parser/diet_parser_task.dart b/pkg/compiler/lib/src/parser/diet_parser_task.dart |
index ee22ae949b0644626661a6347efb238ac5c6b26a..ee65817c2fe116bf3964717db495555a4f28cc06 100644 |
--- a/pkg/compiler/lib/src/parser/diet_parser_task.dart |
+++ b/pkg/compiler/lib/src/parser/diet_parser_task.dart |
@@ -30,7 +30,7 @@ class DietParserTask extends CompilerTask { |
measure(() { |
Function idGenerator = compiler.getNextFreeClassId; |
ElementListener listener = |
- new ElementListener(compiler, compilationUnit, idGenerator); |
+ new ElementListener(compiler.reporter, compilationUnit, idGenerator); |
PartialParser parser = new PartialParser(listener); |
try { |
parser.parseUnit(tokens); |