aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/i1103.scala
blob: dcc391a6a1ac71c5754d235396be9ffdbf5f7225 (plain) (tree)
1
2
3
4
5




                                    
class Sys[S]
class Foo[T <: Sys[T]] {
  val t: T = ???
  def foo[A <: Sys[A]](x: A = t) = x
}