diff options
Diffstat (limited to 'test/files/pos/t1438.scala')
-rw-r--r-- | test/files/pos/t1438.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/pos/t1438.scala b/test/files/pos/t1438.scala new file mode 100644 index 0000000000..221c3439dd --- /dev/null +++ b/test/files/pos/t1438.scala @@ -0,0 +1,10 @@ +class C[A] { + type CC[B] <: C[B] + def aio[T]: T = aio[T] +} +class D[A] extends C[A] { + protected def nv[B](elems: Iterator[B]): CC[B] = { + val x = new D[B] + x.aio[CC[B]] + } +} |