dotty-feature-requests
dotty-feature-requests copied to clipboard
Make case classes final
If a case class
definition does not have additional modifiers such as abstract
or sealed
make it final
by default.
This will become even more practical as soon as we have the open
modifier proposed here: https://contributors.scala-lang.org/t/sip-make-classes-sealed-by-default/3767