| 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,
|
|
|