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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartTypeNode.java

Issue 10702054: Issue 3931. Visit children nodes safely. (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: compiler/java/com/google/dart/compiler/ast/DartTypeNode.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartTypeNode.java b/compiler/java/com/google/dart/compiler/ast/DartTypeNode.java
index f7b6b105073ac0b5462157e24bb1d453ad3cdccb..6c3db0db0cc1b30e1103000ffb92a1221f6e2f8c 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartTypeNode.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartTypeNode.java
@@ -33,7 +33,7 @@ public class DartTypeNode extends DartNode {
@Override
public void visitChildren(ASTVisitor<?> visitor) {
- identifier.accept(visitor);
+ safelyVisitChild(identifier, visitor);
typeArguments.accept(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698