summaryrefslogtreecommitdiff
path: root/test/files/neg/bug1106.scala
blob: 36b5a0ec8f8111958f85bed4dae15f5f81b0dca0 (plain) (blame)
1
2
3
4
5
class Par[S]
val p = new Par[String]
class Foo[T[x]<:Par[x]](t: T[String])

new Foo[p.type](p) // crashes compiler