diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2010-04-12 17:19:38 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2010-04-12 17:19:38 +0000 |
commit | d0475494b208768fdf0220e0e435232d6de58e6c (patch) | |
tree | 84893561d0a2321c6e15607b10030c8f2165cbc1 /src/library/scala/Function1.scala | |
parent | f7340c3abcb5604e798816d4e3ace77b4a618552 (diff) | |
download | scala-d0475494b208768fdf0220e0e435232d6de58e6c.tar.gz scala-d0475494b208768fdf0220e0e435232d6de58e6c.tar.bz2 scala-d0475494b208768fdf0220e0e435232d6de58e6c.zip |
Regenerated tuples, products and (Abstract)Func...
Regenerated tuples, products and (Abstract)Functions. We needed to have
separate files for AbstractFunctionN because the compiler may need their
symbol even before their sourcefile is parsed. In such cases it relies
on finding a source file with the right name.
Diffstat (limited to 'src/library/scala/Function1.scala')
-rw-r--r-- | src/library/scala/Function1.scala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/library/scala/Function1.scala b/src/library/scala/Function1.scala index afc19417a2..a5780f561a 100644 --- a/src/library/scala/Function1.scala +++ b/src/library/scala/Function1.scala @@ -8,12 +8,13 @@ // $Id$ -// generated by genprod on Sun Jan 17 19:38:09 PST 2010 (with fancy comment) (with extra methods) +// generated by genprod on Mon Apr 12 15:28:18 CEST 2010 (with fancy comment) (with extra methods) package scala + /** <p> * Function with 1 parameter. * </p> @@ -35,7 +36,7 @@ package scala * println(anonfun1(0)) * }</pre> */ -trait Function1[@specialized(Int, Long, Double) -T1, @specialized(Unit, Int, Long, Double) +R] extends AnyRef { self => +trait Function1[@specialized(Int, Long, Double) -T1, @specialized(Unit, Boolean, Int, Long, Double) +R] extends AnyRef { self => def apply(v1:T1): R override def toString() = "<function1>" |