aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t2208.scala
blob: 53165cc81a8b5a16a960544674a309521a9e6def (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
}