You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[error] .../human/src/main/scala/Human.scala:1:7: class Human needs to be abstract.
[error] Missing implementation for member of trait Mammal:
[error] def name: String = ???
[error] class Human extends Mammal
[error] ^
[error] one error found
Problem
I'd expect this to compile. Although Mammal doesn't provide a "concrete" implementation of name because its implementation relies on the superclass's (Animal) name, the superclass does define name. This builds if both projects are compiled with Scala 2, which leads me to believe this is an issue with Scala 2's TASTy reader.