Back to Scala3

Dropped: Early Initializers

docs/_spec/APPLIEDreference/dropped-features/early-initializers.md

3.8.3420 B
Original Source

Early initializers of the form

scala
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.