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 ff0d1fd commit de33bb5Copy full SHA for de33bb5
compiler/src/dotty/tools/io/Directory.scala
@@ -69,5 +69,5 @@ class Directory(jpath: JPath) extends Path(jpath) {
69
def deepList(depth: Int = -1): Iterator[Path] =
70
if (depth < 0) list ++ dirs.flatMap(_.deepList(depth))
71
else if (depth == 0) Iterator.empty
72
- else list ++ (dirs flatMap (_ deepList (depth - 1)))
+ else list ++ dirs.flatMap(_.deepList(depth - 1))
73
}
0 commit comments