Closed
Description
Compiler version
3.2.2
3.3.0-RC3
Worked in 3.1.2
Minimized code
class Root {
override def toString() = "Root"
}
trait A extends Root with B { }
trait B {
override def toString() = "B"
}
case class C() extends A {
override def toString() = super.toString()
}
println(C())
Output
Root
Expectation
toString
in trait B
should be called and output should be B.
This works for normal classes, but the case class breaks that.