diff options
Diffstat (limited to 'sources/scala/PartialFunction.scala')
-rw-r--r-- | sources/scala/PartialFunction.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scala/PartialFunction.scala b/sources/scala/PartialFunction.scala index 58e797b3f4..3a5ece7f19 100644 --- a/sources/scala/PartialFunction.scala +++ b/sources/scala/PartialFunction.scala @@ -9,7 +9,7 @@ // $Id$ package scala { - trait PartialFunction[A, +B] { + trait PartialFunction[-A, +B] { def apply(x: A): B; def isDefinedAt(x: A): scala.Boolean; } |