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

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

Issue 10916268: New 'Clean Up' to convert old optional parameters to the new optional named where possible. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 f28e74c690cdd7530c1e19a8be29bb59ae3b25a8..0802d8aaadab072f03a255306def35600778d82d 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>(), 0, null, null);
+ return (N) new DartFunction(new ArrayList<DartParameter>(), -1, -1, 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