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

Unified Diff: compiler/java/com/google/dart/compiler/ast/viz/DotWriter.java

Issue 8913016: Issue 839: Bad code leading to top level methods being something other than identifier (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Nits Created 9 years 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/viz/DotWriter.java
diff --git a/compiler/java/com/google/dart/compiler/ast/viz/DotWriter.java b/compiler/java/com/google/dart/compiler/ast/viz/DotWriter.java
index cc36141e558e8f7e17db93d8fb241c34a90dbf31..79127d3eb31c9182d74c02ea3b8423c0df1e4f99 100644
--- a/compiler/java/com/google/dart/compiler/ast/viz/DotWriter.java
+++ b/compiler/java/com/google/dart/compiler/ast/viz/DotWriter.java
@@ -71,6 +71,7 @@ public class DotWriter extends BaseASTWriter {
}
}
+ @Override
protected void write(String nodeType, DartNode node, String data) {
String nodeData = node.getSourceLine() + ":" + node.getSourceStart() + ":"
+ node.getSourceLength() + "_" + nodeType;

Powered by Google App Engine
This is Rietveld 408576698