Edit this page on GitHub

Dropped: Early Initializers

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.