object in "Scala Worksheet" does not compile if derived from base class with constructor parameter(

User picture
User picture