diff options
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/Settings.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/Settings.scala b/src/compiler/scala/tools/nsc/Settings.scala index 5f15cd804e..f0b3be3ff0 100644 --- a/src/compiler/scala/tools/nsc/Settings.scala +++ b/src/compiler/scala/tools/nsc/Settings.scala @@ -281,8 +281,8 @@ object Settings /** Return the output directory for the given file. */ def outputDirFor(src: AbstractFile): AbstractFile = { - def isBelow(dir: AbstractFile, f: AbstractFile) = - f.path.startsWith(dir.path) + def isBelow(srcDir: AbstractFile, outDir: AbstractFile) = + src.path.startsWith(srcDir.path) singleOutDir match { case Some(d) => d |