summaryrefslogtreecommitdiff
path: root/src/library/scala/Function1.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-03-28 19:20:58 +0000
committerPaul Phillips <paulp@improving.org>2011-03-28 19:20:58 +0000
commitd4392e047b61cc135f5110bf7863ec0d3480eaa6 (patch)
tree70b114cdf1ebab17c85b2d42a306e99fe340f4b3 /src/library/scala/Function1.scala
parenteb32c46d6929999ae19f7c7d205248eba8966249 (diff)
downloadscala-d4392e047b61cc135f5110bf7863ec0d3480eaa6.tar.gz
scala-d4392e047b61cc135f5110bf7863ec0d3480eaa6.tar.bz2
scala-d4392e047b61cc135f5110bf7863ec0d3480eaa6.zip
Added some implicitNotFound annotations to comm...
Added some implicitNotFound annotations to commonly used classes, and some documentation to Manifest. (Said documentation is invisible for the moment due to #4404.) No review.
Diffstat (limited to 'src/library/scala/Function1.scala')
-rw-r--r--src/library/scala/Function1.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library/scala/Function1.scala b/src/library/scala/Function1.scala
index e256a94961..dc8e67bbb0 100644
--- a/src/library/scala/Function1.scala
+++ b/src/library/scala/Function1.scala
@@ -25,6 +25,7 @@ package scala
* }
* }}}
*/
+@annotation.implicitNotFound(msg = "No implicit view available from ${T1} => ${R}.")
trait Function1[@specialized(scala.Int, scala.Long, scala.Float, scala.Double) -T1, @specialized(scala.Unit, scala.Boolean, scala.Int, scala.Float, scala.Long, scala.Double) +R] extends AnyRef { self =>
/** Apply the body of this function to the argument.
* @return the result of function application.