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.
2 parents 6131175 + 2c6052d commit c90ea6bCopy full SHA for c90ea6b
compiler/src/dotty/tools/dotc/config/ScalaSettings.scala
@@ -1,6 +1,8 @@
1
package dotty.tools.dotc
2
package config
3
4
+import java.io.File
5
+
6
import PathResolver.Defaults
7
import rewrite.Rewrites
8
@@ -111,7 +113,7 @@ class ScalaSettings extends Settings.SettingGroup {
111
113
"-project",
112
114
"project title",
115
"The name of the project",
- sys.props("user.dir").split(sys.props("file.separator")).last
116
+ sys.props("user.dir").split(File.separatorChar).last
117
)
118
119
val wikiSyntax = BooleanSetting("-Xwiki-syntax", "Retains the Scala2 behavior of using Wiki Syntax in Scaladoc")
0 commit comments