diff options
author | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2009-01-21 09:46:57 +0000 |
---|---|---|
committer | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2009-01-21 09:46:57 +0000 |
commit | 77852ce568332337a23b83b3dc911f2242373f1d (patch) | |
tree | dbf4f07302b0cf2ae79a31ce085cfb3d1f981633 /test/pending/pos/t1659.scala | |
parent | 72cffa149f113e6e5dabf0702c92a0ee3f78f1be (diff) | |
download | scala-77852ce568332337a23b83b3dc911f2242373f1d.tar.gz scala-77852ce568332337a23b83b3dc911f2242373f1d.tar.bz2 scala-77852ce568332337a23b83b3dc911f2242373f1d.zip |
Added test for #1659
Diffstat (limited to 'test/pending/pos/t1659.scala')
-rw-r--r-- | test/pending/pos/t1659.scala | 4 |
1 files changed, 4 insertions, 0 deletions
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 } + |