Solution of Diamond Problem in Scala # Scala Tutorial - 15

Scala’s solution to the Diamond Problem is actually fairly simple: it considers the order in which traits are inherited. If there are multiple implementors of a given member, the implementation in the supertype that is furthest to the right (in the list of supertypes) “wins.”
Back to Top