Chromium Code Reviews

Unified Diff: compiler/java/com/google/dart/compiler/parser/DartParser.java

Issue 9149008: Fixes for parsing warnigs, issue 1060. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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);

Powered by Google App Engine