Skip to content

Commit 4b3340f

Browse files
committed
Address review
1 parent 0c3e55b commit 4b3340f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/quoted/QuoteDriver.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ object QuoteDriver {
9797
// Loads the classes loaded by this class loader
9898
// When executing `run` or `test` in sbt the classpath is not in the property java.class.path
9999
import java.nio.file.Paths
100-
val newClasspath = cl.getURLs.map(url => Paths.get(url.toURI).toFile)
100+
val newClasspath = cl.getURLs.map(url => Paths.get(url.toURI).toString)
101101
newClasspath.mkString("", java.io.File.pathSeparator, if (classpath0 == "") "" else java.io.File.pathSeparator + classpath0)
102102
case _ => classpath0
103103
}

0 commit comments

Comments
 (0)