File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -453,7 +453,7 @@ object Build {
453
453
def findLib (attList : Seq [Attributed [File ]], name : String ) = attList
454
454
.map(_.data.getAbsolutePath)
455
455
.find(_.contains(name))
456
- .toList.mkString(" : " )
456
+ .toList.mkString(java.io. File .pathSeparatorChar.toString )
457
457
458
458
// Settings shared between dotty-compiler and dotty-compiler-bootstrapped
459
459
lazy val commonDottyCompilerSettings = Seq (
@@ -682,13 +682,13 @@ object Build {
682
682
else if (debugFromTasty) " dotty.tools.dotc.fromtasty.Debug"
683
683
else " dotty.tools.dotc.Main"
684
684
685
- var extraClasspath = s " $scalaLib: $dottyLib"
686
- if ((decompile || printTasty) && ! args.contains(" -classpath" )) extraClasspath += " : ."
685
+ var extraClasspath = s " $scalaLib${java.io. File .pathSeparator} $dottyLib"
686
+ if ((decompile || printTasty) && ! args.contains(" -classpath" )) extraClasspath += s " ${java.io. File .pathSeparator} . "
687
687
if (args0.contains(" -with-compiler" )) {
688
688
if (! isDotty.value) {
689
689
throw new MessageOnlyException (" -with-compiler can only be used with a bootstrapped compiler" )
690
690
}
691
- extraClasspath += s " : $dottyCompiler"
691
+ extraClasspath += s " ${java.io. File .pathSeparator} : $dottyCompiler"
692
692
}
693
693
694
694
val fullArgs = main :: insertClasspathInArgs(args, extraClasspath)
You can’t perform that action at this time.
0 commit comments