blob: b42af956cc5e6a373c752475b1e236f6aaf4e292 (
plain) (
tree)
|
|
case class TypeBounds(a: Type, b: Type)
class Type {
def bounds: TypeBounds = bounds match {
case TypeBounds(_: this.type, _: this.type) => TypeBounds(this, this)
case oftp => oftp
}
}
|