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

Unified Diff: compiler/java/com/google/dart/compiler/ast/viz/ASTWriterFactory.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/ASTWriterFactory.java
diff --git a/compiler/java/com/google/dart/compiler/ast/viz/ASTWriterFactory.java b/compiler/java/com/google/dart/compiler/ast/viz/ASTWriterFactory.java
index 19a6f6a2de2e04d83bfb7be05c3538106bff4a1c..7917f89f25bc5913ac70e0c3d013ece674d91309 100644
--- a/compiler/java/com/google/dart/compiler/ast/viz/ASTWriterFactory.java
+++ b/compiler/java/com/google/dart/compiler/ast/viz/ASTWriterFactory.java
@@ -19,6 +19,6 @@ public class ASTWriterFactory {
} else if ("dot".equals(astFormat)) {
return new DotWriter(outDir);
}
- return null;
+ return new NullWriter(outDir);
}
}

Powered by Google App Engine
This is Rietveld 408576698