From 77852ce568332337a23b83b3dc911f2242373f1d Mon Sep 17 00:00:00 2001 From: Geoffrey Washburn Date: Wed, 21 Jan 2009 09:46:57 +0000 Subject: Added test for #1659 --- test/pending/pos/t1659.scala | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/pending/pos/t1659.scala (limited to 'test/pending/pos') diff --git a/test/pending/pos/t1659.scala b/test/pending/pos/t1659.scala new file mode 100644 index 0000000000..10470d66f8 --- /dev/null +++ b/test/pending/pos/t1659.scala @@ -0,0 +1,4 @@ +trait Y { type X } +trait W { def u[A](v : Y { type X = A }) : Unit } +class Z extends W { def u[A](v : Y { type X = A }) = null } + -- cgit v1.2.3