blob: 3c80f305224cb9b3ca6b023798f439e77a4915b0 (
plain) (
tree)
|
|
package foo {
private[foo] trait Bippy { }
trait YourTrait {
def implementMe(f: Int => (String, Bippy)): Unit
def overrideMe[T <: Bippy](x: T): T = x
def overrideMeAlso(x: Map[Int, Set[Bippy]]) = 5
}
}
|