## Compiler version 3.1.1-RC2 ## Minimized code ```Scala case class Year(value: Int) extends AnyVal with Id { type Value = Int } with Ordered[Year] { ... } ``` ## Output ```scala Early definitions are not supported; use trait parameters instead ``` ## Expectation Compiles without error. Workaround: ```scala trait WrappedId extends Id { type Value = Int } case class Year(value: Int) extends AnyVal with WrappedId with Ordered[Year] { ... } ```