From c65591c3672837588f318db2652a9001f674f8f7 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Fri, 28 Oct 2016 23:41:28 +0200 Subject: PathResolver: fix priorityClassPath It was wrongly defined before with respect to `commandLineFor` (this is what happens when you rely on strings instead of types!) --- src/dotty/tools/dotc/config/PathResolver.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3