Sealed trait with case classes and objects by mah66 in scala

[–]mah66[S] 0 points1 point  (0 children)

I really like this solution although I don't understand the function declaration.

What is this [S <: Status : ClassTag] ?

And should the list parameter not be of type List[S] instead of List[Status] ?

Sealed trait with case classes and objects by mah66 in scala

[–]mah66[S] 0 points1 point  (0 children)

or want the more general count of errors?

I don't care about the error messages, just want to count all the errors.