Skip to content

Commit fbf4b16

Browse files
committed
Use canonical paths in scalacOptions
1 parent 96e6c75 commit fbf4b16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/Build.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ object Build {
11161116
libraryDependencies += "org.scala-lang" % "scala-library" % stdlibVersion,
11171117
(Compile / scalacOptions) ++= Seq(
11181118
// Needed so that the library sources are visible when `dotty.tools.dotc.core.Definitions#init` is called
1119-
"-sourcepath", (Compile / sourceDirectories).value.map(_.getAbsolutePath).distinct.mkString(File.pathSeparator),
1119+
"-sourcepath", (Compile / sourceDirectories).value.map(_.getCanonicalPath).distinct.mkString(File.pathSeparator),
11201120
"-Yexplicit-nulls",
11211121
),
11221122
(Compile / doc / scalacOptions) ++= ScaladocConfigs.DefaultGenerationSettings.value.settings,

0 commit comments

Comments
 (0)