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.
1 parent 2181000 commit 77c5c51Copy full SHA for 77c5c51
compiler/src/dotty/tools/dotc/fromtasty/TastyFileUtil.scala
@@ -1,8 +1,8 @@
1
package dotty.tools.dotc.fromtasty
2
3
-import java.nio.file.{Files, Path, Paths}
+import java.nio.file.{Files, Path}
4
+import java.io
5
-import dotty.tools.dotc.core.Contexts.Context
6
import dotty.tools.dotc.core.NameKinds
7
import dotty.tools.dotc.core.Names.SimpleName
8
import dotty.tools.dotc.core.StdNames.nme
@@ -33,7 +33,7 @@ object TastyFileUtil {
33
}.collect {
34
case name: SimpleName => name.toString
35
}.toList
36
- val classInPath = className.mkString("", "/", ".tasty")
+ val classInPath = className.mkString("", io.File.separator, ".tasty")
37
val classpath = path.toString.replace(classInPath, "")
38
(classpath, className.mkString("."))
39
}
0 commit comments