From dbc06d9e0d1532754f8bcb9dba9bf6aac42a9b69 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 7 Mar 2016 17:25:05 +0100 Subject: Remove println --- src/dotty/tools/dotc/ast/NavigateAST.scala | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') 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 -- cgit v1.2.3