aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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