open class Required(val value: String) trait First : Required trait Second : First class Y : Second class Z : Second, Required(":o)")