Template Evaluation. Consider a template sc with mt1 with mtn {stats}.
If this is the template of a trait (§5.3.3) then its mixin-evaluation consists of an eval-
uation of the statement sequence stats.
If this is not a template of a trait, then its evaluation consists of the following steps.
• First,thesuperclassconstructorscisevaluated(§5.1.1).
• Then, all base classes in the template’s linearization (§5.1.2) up to the tem- plate’s superclass denoted by sc are mixin-evaluated. Mixin-evaluation hap- pens in reverse order of occurrence in the linearization.
• Finally the statement sequence stats is evaluated.