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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/ast/ASTFactory.java

Issue 11364134: Merge libv1. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Reupload due to error Created 8 years, 1 month 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: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/ast/ASTFactory.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/ast/ASTFactory.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/ast/ASTFactory.java
index b184059b4c183e7d7b5f531f67cf2be07991c8c4..c6156595ce365425c311d3f07c17ce90d8c66dce 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/ast/ASTFactory.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/ast/ASTFactory.java
@@ -204,9 +204,12 @@ public final class ASTFactory {
public static CompilationUnit compilationUnit(String scriptTag, List<Directive> directives,
List<CompilationUnitMember> declarations) {
- return new CompilationUnit(scriptTag == null ? null : scriptTag(scriptTag), directives == null
- ? new ArrayList<Directive>() : directives, declarations == null
- ? new ArrayList<CompilationUnitMember>() : declarations);
+ return new CompilationUnit(
+ token(TokenType.EOF),
+ scriptTag == null ? null : scriptTag(scriptTag),
+ directives == null ? new ArrayList<Directive>() : directives,
+ declarations == null ? new ArrayList<CompilationUnitMember>() : declarations,
+ token(TokenType.EOF));
}
public static ConditionalExpression conditionalExpression(Expression condition,

Powered by Google App Engine
This is Rietveld 408576698