We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fromtasty.Debug
1 parent bcdc431 commit 7e093b1Copy full SHA for 7e093b1
compiler/src/dotty/tools/dotc/fromtasty/Debug.scala
@@ -6,6 +6,7 @@ import scala.util.control.NonFatal
6
7
import dotty.tools.io.Directory
8
9
+import java.io.{File => JFile}
10
import java.nio.file.{Files, Paths}
11
12
object Debug {
@@ -65,7 +66,7 @@ object Debug {
65
66
67
private def insertClasspathInArgs(args: List[String], cp: String): List[String] = {
68
val (beforeCp, fromCp) = args.span(_ != "-classpath")
- val classpath = fromCp.drop(1).headOption.fold(cp)(_ + ":" + cp)
69
+ val classpath = fromCp.drop(1).headOption.fold(cp)(_ + JFile.pathSeparator + cp)
70
"-classpath" :: classpath :: beforeCp ::: fromCp.drop(2)
71
}
72
0 commit comments