summaryrefslogtreecommitdiff
path: root/test/files/pos/tcpoly_late_method_params.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/tcpoly_late_method_params.scala')
-rw-r--r--test/files/pos/tcpoly_late_method_params.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/tcpoly_late_method_params.scala b/test/files/pos/tcpoly_late_method_params.scala
new file mode 100644
index 0000000000..2af0664618
--- /dev/null
+++ b/test/files/pos/tcpoly_late_method_params.scala
@@ -0,0 +1,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]
+} \ No newline at end of file