summaryrefslogtreecommitdiff
path: root/test/files/neg/abstract-report2.scala
blob: 8825340d4a885cd9b7945a69fc4f1f535812b93d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import java.util.Collection

class Foo extends Collection[Int]

class Bar extends Collection[List[_ <: String]]

class Baz[T] extends Collection[T]

trait Xyz[T] {
  def foo(x: T): Boolean
}

trait Bippy[T1, T2, T3] extends Collection[T1] with TraversableOnce[(T2, String)] with Xyz[T3]

class Dingus extends Bippy[String, Set[Int], List[Int]]