| Index: compiler/java/com/google/dart/compiler/ast/LibraryUnit.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/LibraryUnit.java b/compiler/java/com/google/dart/compiler/ast/LibraryUnit.java
|
| index 2832e5b03d65020a05923d41d7bc11ab3be30f36..0a18d76b65df4eb3ef6a263392fb6873f6542ca5 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/LibraryUnit.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/LibraryUnit.java
|
| @@ -456,7 +456,7 @@ public class LibraryUnit {
|
| };
|
|
|
| DartScannerParserContext parserContext = new DartScannerParserContext(src, srcCode, listener);
|
| - DartParser parser = new DartParser(parserContext);
|
| + DartParser parser = new DartParser(parserContext, true);
|
| DartUnit unit = parser.parseUnit(src);
|
|
|
| // When parsing from an API file, generate and store the hash for top level
|
| @@ -470,7 +470,6 @@ public class LibraryUnit {
|
| ((DartClass)node).setHash(nodeString.hashCode());
|
| }
|
| }
|
| - unit.setDiet(true);
|
| putUnit(unit);
|
| }
|
| }
|
|
|