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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.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. 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.tools.core/src/com/google/dart/tools/core/dom/AST.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java
index 13181797130c55c1aa25048874bba6d4043614df..37fbeb55ad9cc0c3f000a8572dd99481c9096a53 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java
@@ -199,7 +199,7 @@ public class AST {
} else if (nodeClass == DartUnaryExpression.class) {
return (N) new DartUnaryExpression(null, null, true);
} else if (nodeClass == DartUnit.class) {
- return (N) new DartUnit(null);
+ return (N) new DartUnit(null, false);
} else if (nodeClass == DartUnqualifiedInvocation.class) {
return (N) new DartUnqualifiedInvocation(null, new ArrayList<DartExpression>());
} else if (nodeClass == DartVariable.class) {

Powered by Google App Engine
This is Rietveld 408576698