aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/traitParamsMixin.scala
blob: aa91012d569dec05b777467b2091851c8c1947b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
trait T(x: Int) {
  def f = x
}

trait U extends T

class D extends U {  // error

}