blob: 7eaaf2d6207c59ab35afd0443dc81ed247b6eba0 (
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
}
}
|