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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java

Issue 9113017: Add unitAboutToCompile() into DartCompilerListener (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 12 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 801d65a57d86c0830a26972931f674a48473ee0b..13181797130c55c1aa25048874bba6d4043614df 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, new ArrayList<DartNode>());
+ return (N) new DartUnit(null);
} 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