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

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

Issue 10696056: Fix for issues 3729 and 3523 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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
===================================================================
--- editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java (revision 9267)
+++ editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/AST.java (working copy)
@@ -166,7 +166,7 @@
} else if (nodeClass == DartMethodDefinition.class) {
return (N) DartMethodDefinition.create(null, null, null, null);
} else if (nodeClass == DartMethodInvocation.class) {
- return (N) new DartMethodInvocation(null, null, new ArrayList<DartExpression>());
+ return (N) new DartMethodInvocation(null, false, null, new ArrayList<DartExpression>());
} else if (nodeClass == DartNativeBlock.class) {
return (N) new DartNativeBlock();
} else if (nodeClass == DartNewExpression.class) {
@@ -174,7 +174,12 @@
} else if (nodeClass == DartNullLiteral.class) {
return (N) DartNullLiteral.get();
} else if (nodeClass == DartParameter.class) {
- return (N) new DartParameter(null, null, new ArrayList<DartParameter>(), null, Modifiers.NONE);
+ return (N) new DartParameter(
+ null,
+ null,
+ new ArrayList<DartParameter>(),
+ null,
+ Modifiers.NONE);
} else if (nodeClass == DartParenthesizedExpression.class) {
return (N) new DartParenthesizedExpression(null);
} else if (nodeClass == DartPropertyAccess.class) {

Powered by Google App Engine
This is Rietveld 408576698