Index: compiler/java/com/google/dart/compiler/parser/DartParser.java |
diff --git a/compiler/java/com/google/dart/compiler/parser/DartParser.java b/compiler/java/com/google/dart/compiler/parser/DartParser.java |
index 372b4a52b88ff119ce9990a0b8a4af9ae0dbfdc0..7f5079678ea939330802442065de941503ae8d05 100644 |
--- a/compiler/java/com/google/dart/compiler/parser/DartParser.java |
+++ b/compiler/java/com/google/dart/compiler/parser/DartParser.java |
@@ -246,7 +246,7 @@ public class DartParser extends CompletionHooksParserBase { |
public DartUnit parseUnit(DartSource source) { |
beginCompilationUnit(); |
ctx.unitAboutToCompile(source, isDietParse); |
- DartUnit unit = new DartUnit(source); |
+ DartUnit unit = new DartUnit(source, isDietParse); |
// parse any directives at the beginning of the source |
parseDirectives(unit); |