diff options
author | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2010-04-19 15:33:39 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2010-04-19 15:33:39 +0000 |
commit | 9933cbe4e49bf558eb238c4d807551aaf5a2e94c (patch) | |
tree | 66652a8ba22e8ba8baef79923134ea4e8085c2e7 /src | |
parent | 199f6f6cb8b5915a8902907905d6755dc4237061 (diff) | |
download | scala-9933cbe4e49bf558eb238c4d807551aaf5a2e94c.tar.gz scala-9933cbe4e49bf558eb238c4d807551aaf5a2e94c.tar.bz2 scala-9933cbe4e49bf558eb238c4d807551aaf5a2e94c.zip |
Missing bit from r21620.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/settings/MutableSettings.scala | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/settings/MutableSettings.scala b/src/compiler/scala/tools/nsc/settings/MutableSettings.scala index 00a384663d..e8443d11c1 100644 --- a/src/compiler/scala/tools/nsc/settings/MutableSettings.scala +++ b/src/compiler/scala/tools/nsc/settings/MutableSettings.scala @@ -8,7 +8,7 @@ package scala.tools package nsc package settings -import io.AbstractFile +import io.{AbstractFile, VirtualDirectory} import scala.tools.util.StringOps import scala.collection.mutable.ListBuffer @@ -292,7 +292,10 @@ class MutableSettings(val errorFn: String => Unit) extends AbsSettings with Scal singleOutDir match { case Some(d) => - List(d.lookupPathUnchecked(srcPath, false)) + d match { + case _: VirtualDirectory => Nil + case _ => List(d.lookupPathUnchecked(srcPath, false)) + } case None => (outputs filter (isBelow _).tupled) match { case Nil => Nil |