diff options
Diffstat (limited to 'test/pending/pos/t8128b.scala')
-rw-r--r-- | test/pending/pos/t8128b.scala | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/test/pending/pos/t8128b.scala b/test/pending/pos/t8128b.scala deleted file mode 100644 index dd44a25a90..0000000000 --- a/test/pending/pos/t8128b.scala +++ /dev/null @@ -1,18 +0,0 @@ -class Optiony[X] { def isEmpty = true; def get: X = ??? } -class Seqy[X] { def head: X = ???; def length = 0; def apply(i: Int): X = ??? } - -object G { - def unapply(m: Any): Optiony[_] = ??? -} - -object H { - def unapplySeq(m: Any): Optiony[Seqy[_]] = ??? -} - -object Test { - (0: Any) match { - case G(v) => v - case H(v) => v - case _ => - } -} |