diff options
Diffstat (limited to 'test/files/pos/t1659.scala')
-rw-r--r-- | test/files/pos/t1659.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/t1659.scala b/test/files/pos/t1659.scala new file mode 100644 index 0000000000..10470d66f8 --- /dev/null +++ b/test/files/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 } + |