from Alvinalexander6 months agoHopefully you can see from the comments what works and what doesn't work when you're using inheritance in Scala.Alvinalexanderhttps://alvinalexander.com/source-code/scala-3-inheritance-protected-private-def-val-var-class-extends-trait/ Read at Alvinalexander #Scala #inheritance #private #protected #def #val #var[add][|| ... ]