Closed
Description
Rumor is, Martin wants it re-enabled, and we probably should at least under Scala2 mode — and then, why not in Dotty proper: scala/bug#8353 (comment)
@nafg proposed on Gitter maybe we should restrict it to use cases with an unsurprising semantics, where the shadowing class in fact overrides the superclass, such as:
trait Core {
class Status
}
trait Ext extends Core {
class Status extends super.Status
}
Class shadowing, in contrast, is more surprising.