aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t2208.scala
blob: b86b1d9b34bffb58009fae2558fe333f181a73d5 (plain) (blame)
1
2
3
4
5
6
7
8
object Test  {
    class A

    class B[X]
    type Alias[X <: A] = B[X]

    class C extends Alias[Any]   // not ok, normalisation should check bounds before expanding Alias
}