diff options
Diffstat (limited to 'tests/pending/pos/t8045.scala')
-rw-r--r-- | tests/pending/pos/t8045.scala | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/pending/pos/t8045.scala b/tests/pending/pos/t8045.scala deleted file mode 100644 index 21154e386..000000000 --- a/tests/pending/pos/t8045.scala +++ /dev/null @@ -1,17 +0,0 @@ -object Test extends App { - case class Number(i: Int) - - object UnliftNumber { - def unapply(t: Any): Option[Number] = t match { - case i: Int => Some(Number(i)) - case _ => None - } - } - - def eval(expr: Any): Option[Number] = expr match { - case UnliftNumber(n) => Some(n) - case _ => None - } - - println(eval(1)) -} |