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

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

Issue 10558014: Use operator location for operator resolving problems (Closed) Base URL: https://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
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 72b665473870970b2b4801d6104ca5b347455dab..dac01400088dbd0ac11b1001a6cea88259d692f1 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
@@ -206,7 +206,7 @@ public class AST {
} else if (nodeClass == DartTypeParameter.class) {
return (N) new DartTypeParameter(null, null);
} else if (nodeClass == DartUnaryExpression.class) {
- return (N) new DartUnaryExpression(null, null, true);
+ return (N) new DartUnaryExpression(null, 0, null, true);
} else if (nodeClass == DartUnit.class) {
return (N) new DartUnit(null, false);
} else if (nodeClass == DartUnqualifiedInvocation.class) {

Powered by Google App Engine
This is Rietveld 408576698