open class Required trait A : Required val a = object : A {} val b: A = object : A, Required() {}