Skip to content

Commit 26ccfe1

Browse files
smarterfelixmulder
authored andcommitted
PathResolver: fix priorityClassPath
It was wrongly defined before with respect to `commandLineFor` (this is what happens when you rely on strings instead of types!)
1 parent c45947b commit 26ccfe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/config/PathResolver.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ class PathResolver(implicit ctx: Context) {
189189
def javaUserClassPath = if (useJavaClassPath) Defaults.javaUserClassPath else ""
190190
def scalaBootClassPath = cmdLineOrElse("bootclasspath", Defaults.scalaBootClassPath)
191191
def scalaExtDirs = cmdLineOrElse("extdirs", Defaults.scalaExtDirs)
192-
def priorityClassPath = cmdLineOrElse("prioritypath", "")
192+
def priorityClassPath = cmdLineOrElse("priorityclasspath", "")
193193
/** Scaladoc doesn't need any bootstrapping, otherwise will create errors such as:
194194
* [scaladoc] ../scala-trunk/src/reflect/scala/reflect/macros/Reifiers.scala:89: error: object api is not a member of package reflect
195195
* [scaladoc] case class ReificationException(val pos: reflect.api.PositionApi, val msg: String) extends Throwable(msg)

0 commit comments

Comments
 (0)