Closed michelou closed 3 years ago
@BarkingBad As of February 20 Scala 3 output looks as follows with PR #11476 :
user@hostMINGW64 /w/dotty
$ /c/opt/scala-3.0.0-RC2-bin-SNAPSHOT/bin/scala -version
Starting scala3 REPL...
Scala compiler version 3.0.0-RC2-bin-SNAPSHOT-git-aa7c21e -- Copyright 2002-2021, LAMP/EPFL
scala> :quit
user@host MINGW64 /w/dotty
$ /c/opt/scala-3.0.0-RC2-bin-SNAPSHOT/bin/scalac -version
Scala compiler version 3.0.0-RC2-bin-SNAPSHOT-git-aa7c21e -- Copyright 2002-2021, LAMP/EPFL
user@host MINGW64 /w/dotty
$ /c/opt/scala-3.0.0-RC2-bin-SNAPSHOT/bin/scaladoc -version
Scaladoc version 3.0.0-RC2-bin-SNAPSHOT-git-aa7c21e -- Copyright 2002-2021, LAMP/EPFL
Destination is not provided, please provide '-d' parameter pointing to directory where docs should be created
With scaladoc
the line Destination is not provided, ...
still appears for me (local build based on PR #11476).
PS. No change with scala
.
Behavior of command line option
-version
is incorrect with Scala 3 (see also issue 11453) :Scala 2 output
Behavior is consistent between
scala
,scalac
andscaladoc
:Scala 3 output
Only
scalac
behaves correctly :Expectation
Same behavior for Scala 2 and Scala 3.