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

Unified Diff: compiler/javatests/com/google/dart/compiler/common/LibrarySourceFileTest.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/common/LibrarySourceFileTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/common/LibrarySourceFileTest.java b/compiler/javatests/com/google/dart/compiler/common/LibrarySourceFileTest.java
index bdd89cdcf5c79489876a69b9756dd9001f8839fe..bbf83e09644c52d00c7e15202be22cdf328e81ee 100644
--- a/compiler/javatests/com/google/dart/compiler/common/LibrarySourceFileTest.java
+++ b/compiler/javatests/com/google/dart/compiler/common/LibrarySourceFileTest.java
@@ -4,6 +4,7 @@
package com.google.dart.compiler.common;
+import com.google.common.collect.Sets;
import com.google.dart.compiler.AbstractSourceFileTest;
import com.google.dart.compiler.DartCompilationError;
import com.google.dart.compiler.DartCompilerListener;
@@ -107,7 +108,13 @@ public class LibrarySourceFileTest extends AbstractSourceFileTest {
};
try {
- libUnit = DartParser.getSourceParser(lib, listener).preProcessLibraryDirectives(lib);
+ libUnit = new DartParser(
+ lib,
+ DartParser.read(lib),
+ false,
+ Sets.<String>newHashSet(),
+ listener,
+ null).preProcessLibraryDirectives(lib);
} catch (IOException ioEx) {
libUnit = null;
}

Powered by Google App Engine
This is Rietveld 408576698