Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: compiler/javatests/com/google/dart/compiler/parser/DartParserRunner.java

Issue 10661022: Issue 3752. Support for @override annotations (as structured doc comments) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698