summaryrefslogtreecommitdiff
path: root/test/files/pos/tcpoly_late_method_params.scala
blob: c9298918a0b8d12239e8c0ebf6a6273a7b35df1d (plain) (blame)
1
2
3
4
5
trait Foo {
  def flatMap[RT <: RBound[RT], RBound[_], Result[x <: RBound[x]]]: Result[RT] 
// bounds for RT& = >: scala.this.Nothing <: RBound&[RT&]
                                   // bounds for x = >: scala.this.Nothing <: RBound&[x]
}