Work in Progress

We are still in the process of writing the documentation for Scala 3. You can help us to improve the documentation.

Are you searching for the Scala 2 documentation?

Scala 3 Migration Guide

Compiler Options

Language

The Scala 3 compiler has been rewritten from the ground up and consequently it does not offer the same options as the Scala 2.13 compiler. Some options are available under a different name, others have just not been implemented yet.

When porting a Scala 2.13 project to Scala 3, you will need to adapt the list of compiler options. To do so you can refer to the Lookup Table.

Passing an unavailable option to the Scala 3 compiler does not make it fail. It just prints a warning and ignores the option.

You can also discover the new Scala 3 compiler options, that have no equivalent in Scala 2.13, in the New Compiler Options page.

For scaladoc settings reference and their compatibility with Scala2 scaladoc, read Scaladoc settings compatibility between Scala2 and Scala3 page.

Contributors to this page: