Closed as not planned
Description
Compiler version
Latest
Minimized code
Scala 2 repo:
$ sbt dist/mkPack
$ build/pack/bin/scalac -version
Scala compiler version 2.13.5-20201119-215247-c758143 -- Copyright 2002-2020, LAMP/EPFL and Lightbend, Inc.
Output
Scala 3 repo:
$ sbt -no-colors dist/pack
[fix CR-NL in script files]
$ dist/bin/scalac -version
Error: Could not find or load main class dotty.tools.MainGenericCompiler
Caused by: java.lang.ClassNotFoundException: dotty.tools.MainGenericCompiler
However, release versions work
$ sdk use scala 3.1.3
$ scalac -version
Scala compiler version 3.1.3 -- Copyright 2002-2022, LAMP/EPFL
Expectation
Just work.
Also we need to pun on dist/bin
and dust/bin
.