summaryrefslogtreecommitdiff
path: root/test/pos/partialfun.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pos/partialfun.scala')
-rw-r--r--test/pos/partialfun.scala10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/pos/partialfun.scala b/test/pos/partialfun.scala
deleted file mode 100644
index 21e4d0a096..0000000000
--- a/test/pos/partialfun.scala
+++ /dev/null
@@ -1,10 +0,0 @@
-object partialfun {
-
- def applyPartial[b](f: PartialFunction[Option[String], b])(x: Option[String]) =
- if (f.isDefinedAt(x)) f(x) else "<undefined>";
-
- applyPartial {
- case Some(xxx) => xxx
- } (None);
-
-} \ No newline at end of file