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

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

Issue 9651004: Make SourceInfo a class, rename its menthods. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweak for formatting, lazily create LainesInfo Created 8 years, 9 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/viz/TextWriter.java
diff --git a/compiler/java/com/google/dart/compiler/ast/viz/TextWriter.java b/compiler/java/com/google/dart/compiler/ast/viz/TextWriter.java
index bdc7ea47f391ca72da4a97445c2b35232c32e6c1..d29c85e663d27c9c72ccc97c26fe289f90275bbc 100644
--- a/compiler/java/com/google/dart/compiler/ast/viz/TextWriter.java
+++ b/compiler/java/com/google/dart/compiler/ast/viz/TextWriter.java
@@ -23,7 +23,7 @@ public class TextWriter extends ConsoleWriter {
@Override
protected void startHook(DartUnit unit) {
if (!isIgnored(unit)) {
- String txtFilePath = outputDir + File.separator + unit.getSource().getUri()
+ String txtFilePath = outputDir + File.separator + unit.getSourceInfo().getSource().getUri()
+ ".ast.txt";
makeParentDirs(txtFilePath);
try {

Powered by Google App Engine
This is Rietveld 408576698