blob: 02b458016f25ec8db8d139df8824ca979a3418db (
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]]) = x.keys.head
}
}
|