diff options
Diffstat (limited to 'tests/untried/pos/tcpoly_method.scala')
-rw-r--r-- | tests/untried/pos/tcpoly_method.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/untried/pos/tcpoly_method.scala b/tests/untried/pos/tcpoly_method.scala new file mode 100644 index 000000000..294b53b91 --- /dev/null +++ b/tests/untried/pos/tcpoly_method.scala @@ -0,0 +1,6 @@ +trait Iterable[m[+x], +t] { + def flatMap[resColl[+x] <: Iterable[resColl, x], s](f: t => resColl[s]): resColl[s] + + def foo[a[x]] = "a" + val x = foo[List] +} |