Index: compiler/javatests/com/google/dart/compiler/parser/DartParserRunner.java |
diff --git a/compiler/javatests/com/google/dart/compiler/parser/DartParserRunner.java b/compiler/javatests/com/google/dart/compiler/parser/DartParserRunner.java |
index fe28e7b38a49a8e8feb19f33c67aacf4e3024bbd..d0ccce7279d289add373f4068c0e54bdfed34e7f 100644 |
--- a/compiler/javatests/com/google/dart/compiler/parser/DartParserRunner.java |
+++ b/compiler/javatests/com/google/dart/compiler/parser/DartParserRunner.java |
@@ -4,6 +4,7 @@ |
package com.google.dart.compiler.parser; |
+import com.google.common.collect.Sets; |
import com.google.dart.compiler.DartCompilationError; |
import com.google.dart.compiler.DartCompilerListener; |
import com.google.dart.compiler.DartSource; |
@@ -167,8 +168,13 @@ public class DartParserRunner implements DartCompilerListener, Runnable { |
public void run() { |
try { |
DartSourceTest dartSrc = new DartSourceTest(name, sourceCode, null); |
- ParserContext context = new DartScannerParserContext(dartSrc, sourceCode, this); |
- dartUnit = (new DartParser(context, apiParsing)).parseUnit(dartSrc); |
+ dartUnit = (new DartParser( |
+ dartSrc, |
+ sourceCode, |
+ apiParsing, |
+ Sets.<String>newHashSet(), |
+ this, |
+ null)).parseUnit(); |
} catch (Throwable t) { |
workerException.set(t); |
} |