summaryrefslogtreecommitdiff
path: root/test/files/neg/abstract-inaccessible.scala
blob: 3c80f305224cb9b3ca6b023798f439e77a4915b0 (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]]) = 5
  }
}