aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/ast/NavigateAST.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-03-07 17:25:05 +0100
committerMartin Odersky <odersky@gmail.com>2016-03-12 16:08:38 +0100
commitdbc06d9e0d1532754f8bcb9dba9bf6aac42a9b69 (patch)
tree2549eaa5023e7eac2553808f0f17f9c7184ba0bc /src/dotty/tools/dotc/ast/NavigateAST.scala
parent8881a98223832f28993263fcd147e2a7a1a51110 (diff)
downloaddotty-dbc06d9e0d1532754f8bcb9dba9bf6aac42a9b69.tar.gz
dotty-dbc06d9e0d1532754f8bcb9dba9bf6aac42a9b69.tar.bz2
dotty-dbc06d9e0d1532754f8bcb9dba9bf6aac42a9b69.zip
Remove println
Diffstat (limited to 'src/dotty/tools/dotc/ast/NavigateAST.scala')
-rw-r--r--src/dotty/tools/dotc/ast/NavigateAST.scala4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dotty/tools/dotc/ast/NavigateAST.scala b/src/dotty/tools/dotc/ast/NavigateAST.scala
index ed4af32ce..9c1c17f50 100644
--- a/src/dotty/tools/dotc/ast/NavigateAST.scala
+++ b/src/dotty/tools/dotc/ast/NavigateAST.scala
@@ -70,11 +70,9 @@ object NavigateAST {
}
path
}
- def singlePath(p: Positioned, path: List[Positioned]): List[Positioned] = {
- println(i"TEST ${p.envelope} for $pos, tree = $p")
+ def singlePath(p: Positioned, path: List[Positioned]): List[Positioned] =
if (p.envelope contains pos) childPath(p.productIterator, p :: path)
else path
- }
singlePath(from, Nil)
}
} \ No newline at end of file