blob: b42af956cc5e6a373c752475b1e236f6aaf4e292 (
plain) (
blame)
1
2
3
4
5
6
7
|
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
}
}
|