trait A open class B class Some: B(), A class Other: A