File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -518,12 +518,12 @@ object Build {
518518 println(" Couldn't find scala-library on classpath, please run using script in bin dir instead" )
519519 } else {
520520 val dottyLib = packageAll.value(" dotty-library" )
521- s """ $java -classpath .: $dottyLib: $scalaLib ${args.mkString(" " )}"" " .!
521+ s " $java -classpath .: $dottyLib: $scalaLib ${args.mkString(" " )}" .!
522522 }
523523 },
524524 run := dotc.evaluated,
525- dotc := dotDynTask (" dotty.tools.dotc.Main" ).evaluated,
526- repl := dotDynTask (" dotty.tools.repl.Main" ).evaluated,
525+ dotc := runCompilerMain (" dotty.tools.dotc.Main" ).evaluated,
526+ repl := runCompilerMain (" dotty.tools.repl.Main" ).evaluated,
527527
528528 // enable verbose exception messages for JUnit
529529 testOptions in Test += Tests .Argument (
@@ -617,7 +617,7 @@ object Build {
617617 }
618618 )
619619
620- def dotDynTask (main : String ) = Def .inputTaskDyn {
620+ def runCompilerMain (main : String ) = Def .inputTaskDyn {
621621 val dottyLib = packageAll.value(" dotty-library" )
622622 val args : List [String ] = spaceDelimited(" <arg>" ).parsed.toList
623623
You can’t perform that action at this time.
0 commit comments