Skip to content

Commit 369fdec

Browse files
committed
DLS: Fix passing classpath in Windows
Classpath elements are separated by ';', not ':' on Windows
1 parent 21b3149 commit 369fdec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

language-server/src/dotty/tools/languageserver/DottyLanguageServer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class DottyLanguageServer extends LanguageServer
6464

6565
myDrivers = new mutable.HashMap
6666
for (config <- configs) {
67-
val classpathFlags = List("-classpath", (config.classDirectory +: config.dependencyClasspath).mkString(":"))
67+
val classpathFlags = List("-classpath", (config.classDirectory +: config.dependencyClasspath).mkString(File.pathSeparator))
6868
val settings = defaultFlags ++ config.compilerArguments.toList ++ classpathFlags
6969
myDrivers.put(config, new InteractiveDriver(settings))
7070
}

0 commit comments

Comments
 (0)