We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f36e22b commit e799ba9Copy full SHA for e799ba9
src/dotty/tools/dotc/ast/NavigateAST.scala
@@ -70,11 +70,9 @@ object NavigateAST {
70
}
71
path
72
73
- def singlePath(p: Positioned, path: List[Positioned]): List[Positioned] = {
74
- println(i"TEST ${p.envelope} for $pos, tree = $p")
+ def singlePath(p: Positioned, path: List[Positioned]): List[Positioned] =
75
if (p.envelope contains pos) childPath(p.productIterator, p :: path)
76
else path
77
- }
78
singlePath(from, Nil)
79
80
0 commit comments