summaryrefslogblamecommitdiff
path: root/test/files/neg/t4221.scala
blob: c979f7936e5a67e6fb82f03828fae203a76fe76b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
          
                                         







                                                
class Cl {
        class Sub[TheSub <: Sub[TheSub]] 
}

case class Wrapper[T](v: T)

object O {
  def wrap[S <: Cl#Sub[S]](v: S): Wrapper[S] = {
  }
}