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

Unified Diff: compiler/javatests/com/google/dart/compiler/parser/TruncatedSourceParserTest.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/TruncatedSourceParserTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/parser/TruncatedSourceParserTest.java b/compiler/javatests/com/google/dart/compiler/parser/TruncatedSourceParserTest.java
index cc396f20a77b3be920063ebb257d188c8f094b4a..0263d6221d1d0f1dd9ef7439b7399c4a30a0fa23 100644
--- a/compiler/javatests/com/google/dart/compiler/parser/TruncatedSourceParserTest.java
+++ b/compiler/javatests/com/google/dart/compiler/parser/TruncatedSourceParserTest.java
@@ -74,7 +74,6 @@ public class TruncatedSourceParserTest extends AbstractParserTest {
public void run() {
while (true) {
DartSourceTest src;
- ParserContext context;
synchronized (lock) {
while (state == ParseState.INIT) {
try {
@@ -87,9 +86,8 @@ public class TruncatedSourceParserTest extends AbstractParserTest {
return;
}
src = new DartSourceTest(srcName, srcCode, null);
- context = makeParserContext(src, srcCode, listener);
}
- DartUnit unit = makeParser(context).parseUnit(src);
+ DartUnit unit = makeParser(src, srcCode, listener).parseUnit();
synchronized (lock) {
if (state == ParseState.STOP) {
return;

Powered by Google App Engine
This is Rietveld 408576698