| 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 b0ad21504da9089ae43f161d03ce7d1751fbebd3..293db384ff5780f50819ee4d56c136a297810c77 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/viz/DotWriter.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/viz/DotWriter.java
|
| @@ -46,7 +46,8 @@ public class DotWriter extends BaseASTWriter {
|
| nodes = new StringBuffer();
|
| currentUnit = unit;
|
| if (!isIgnored(unit)) {
|
| - String dotFilePath = outputDir + File.separator + unit.getSource().getUri() + ".ast.dot";
|
| + String dotFilePath =
|
| + outputDir + File.separator + unit.getSourceInfo().getSource().getUri() + ".ast.dot";
|
| makeParentDirs(dotFilePath);
|
| try {
|
| out = new FileWriter(new File(dotFilePath));
|
|
|