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 Language Reference

Dropped: Early Initializers

Language

Early initializers of the form

class C extends { ... } with SuperClass ...

have been dropped. They were rarely used, and mostly to compensate for the lack of trait parameters, which are now directly supported in Scala 3.

For more information, see SLS §5.1.6.

Contributors to this page: