summaryrefslogblamecommitdiff
path: root/test/files/neg/abstract-inaccessible.scala
blob: 7eaaf2d6207c59ab35afd0443dc81ed247b6eba0 (plain) (tree)
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
  }
}