aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/neg/t1106.scala
blob: a218eee7a1cdca71f7ed184a3a7b249068a2836c (plain) (tree)
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