summaryrefslogtreecommitdiff
path: root/test/files/pos/tcpoly_late_method_params.scala
blob: e2f0bcffb388d10c7c5c59d6416462f17819c07b (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]
}