aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2016-10-28 23:41:28 +0200
committerGuillaume Martres <smarter@ubuntu.com>2016-11-22 01:35:06 +0100
commitc65591c3672837588f318db2652a9001f674f8f7 (patch)
tree2fd060fe91ff79c11852715cbee753f314e54abc
parent0dc738dd1377577a4004bfe158b11bfb1fa59a9d (diff)
downloaddotty-c65591c3672837588f318db2652a9001f674f8f7.tar.gz
dotty-c65591c3672837588f318db2652a9001f674f8f7.tar.bz2
dotty-c65591c3672837588f318db2652a9001f674f8f7.zip
PathResolver: fix priorityClassPath
It was wrongly defined before with respect to `commandLineFor` (this is what happens when you rely on strings instead of types!)
-rw-r--r--src/dotty/tools/dotc/config/PathResolver.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/config/PathResolver.scala b/src/dotty/tools/dotc/config/PathResolver.scala
index 14a44531a..aa4d8aeb0 100644
--- a/src/dotty/tools/dotc/config/PathResolver.scala
+++ b/src/dotty/tools/dotc/config/PathResolver.scala
@@ -189,7 +189,7 @@ class PathResolver(implicit ctx: Context) {
def javaUserClassPath = if (useJavaClassPath) Defaults.javaUserClassPath else ""
def scalaBootClassPath = cmdLineOrElse("bootclasspath", Defaults.scalaBootClassPath)
def scalaExtDirs = cmdLineOrElse("extdirs", Defaults.scalaExtDirs)
- def priorityClassPath = cmdLineOrElse("prioritypath", "")
+ def priorityClassPath = cmdLineOrElse("priorityclasspath", "")
/** Scaladoc doesn't need any bootstrapping, otherwise will create errors such as:
* [scaladoc] ../scala-trunk/src/reflect/scala/reflect/macros/Reifiers.scala:89: error: object api is not a member of package reflect
* [scaladoc] case class ReificationException(val pos: reflect.api.PositionApi, val msg: String) extends Throwable(msg)