Port the Scala 2 bytecode-optimizer to Dotty #22667
Labels
compat:scala2:feature-parity
Issues tied with features which were at some point included in Scala 2 and could be brought over.
itype:enhancement
TL;DR: All in the title!
The Scala 2 compiler has an implementation of a bytecode optimizer for the JVM. Unfortunately, as of today, we haven't yet ported that part of the Scala 2 compiler to Dotty. Now that we are working on having the stdlib fully compiled with Dotty (#22043), it should be time to also port the optimizer. An entry point to the optimizer would be to investigate the content of the following package: https://github.com/scala/scala/tree/86b9e84ea254cc294cd7b16fe0948631dbb41403/src/compiler/scala/tools/nsc/backend/jvm
The text was updated successfully, but these errors were encountered: