summaryrefslogtreecommitdiff
path: root/test/files/neg/abstract-inaccessible.scala
blob: 02b458016f25ec8db8d139df8824ca979a3418db (plain) (blame)
1
2
3
4
5
6
7
8
9
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
  }
}