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

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

Issue 11418186: Issue 5359. Highlight 'on' in try-catch statement. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 dcfe8a2fa22388305e813e442e3985973a9fc645..07c818d1c55279088a091e997d3c39ba3cbf0c46 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
@@ -105,7 +105,7 @@ public class AST {
} else if (nodeClass == DartCase.class) {
return (N) new DartCase(null, new ArrayList<DartLabel>(), new ArrayList<DartStatement>());
} else if (nodeClass == DartCatchBlock.class) {
- return (N) new DartCatchBlock(null, null, null);
+ return (N) new DartCatchBlock(null, -1, null, null);
} else if (nodeClass == DartClass.class) {
return (N) new DartClass(
-1,

Powered by Google App Engine
This is Rietveld 408576698