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

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

Issue 10916211: Issue 4752. When convert to getter, remove also () (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use setter in *Info Created 8 years, 3 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 9ec38f3bceced1ce257fec5459f31d1854f56dcc..bdfd628036f4e180f0ed69148f198fa316f9b17f 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
@@ -140,7 +140,7 @@ public class AST {
} else if (nodeClass == DartForStatement.class) {
return (N) new DartForStatement(null, null, null, 0, null);
} else if (nodeClass == DartFunction.class) {
- return (N) new DartFunction(new ArrayList<DartParameter>(), null, null);
+ return (N) new DartFunction(new ArrayList<DartParameter>(), 0, null, null);
} else if (nodeClass == DartFunctionExpression.class) {
return (N) new DartFunctionExpression(null, null, false);
} else if (nodeClass == DartFunctionObjectInvocation.class) {

Powered by Google App Engine
This is Rietveld 408576698