diff options
96 files changed, 294 insertions, 399 deletions
diff --git a/src/build/genprod.scala b/src/build/genprod.scala index 08e907e99c..2017d7ff48 100644 --- a/src/build/genprod.scala +++ b/src/build/genprod.scala @@ -7,14 +7,11 @@ \* */ -/** <p> - * This program generates the <code>ProductN</code>, <code>TupleN</code> <code>FunctionN</code> classes, where - * <code>0 <= N <+ MAXWIDTH</code>. - * </p> - * <p> - * usage: <code>scala -classpath ... genprod PATH</code> - * where <code>PATH</code> is the desired output directory - * </p> +/** This program generates the ProductN, TupleN, FunctionN, + * and AbstractFunctionN, where 0 <= N <= MAX_ARITY. + * + * Usage: scala genprod <directory> + * where the argument is the desired output directory * * @author Burak Emir, Stephane Micheloud, Geoffrey Washburn, Paul Phillips * @version 1.1 @@ -73,7 +70,6 @@ object genprod { ** |/ ** \* */ - %s package %s @@ -88,21 +84,10 @@ package %s } val out = args(0) def writeFile(node: scala.xml.Node) { - import java.io.{File, FileOutputStream} - import java.nio.channels.Channels - val f = new File(out, node.attributes("name").toString) - try { - f.createNewFile - val fos = new FileOutputStream(f) - val c = fos.getChannel - val w = Channels.newWriter(c, "utf-8") - w.write(node.text) - w.close - } catch { - case e: java.io.IOException => - println(e.getMessage() + ": " + f) - exit(-1) - } + import scala.tools.nsc.io._ + val f = Path(out) / node.attributes("name").toString + f.parent.createDirectory(force = true) + f.toFile writeAll node.text } allfiles foreach writeFile @@ -118,15 +103,16 @@ zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz */ object FunctionZero extends Function(0) { override def covariantSpecs = "@specialized " override def descriptiveComment = functionNTemplate.format("currentSeconds", "anonfun0", -""" * - * <b>val</b> currentSeconds = () => System.currentTimeMillis() / 1000L +""" + * val currentSeconds = () => System.currentTimeMillis() / 1000L * - * <b>val</b> anonfun0 = <b>new</b> Function0[Long] { - * <b>def</b> apply(): Long = System.currentTimeMillis() / 1000L + * val anonfun0 = new Function0[Long] { + * def apply(): Long = System.currentTimeMillis() / 1000L * } * * println(currentSeconds()) - * println(anonfun0())""") + * println(anonfun0()) + * """) override def moreMethods = "" } @@ -135,15 +121,16 @@ object FunctionOne extends Function(1) { override def covariantSpecs = "@specialized(scala.Unit, scala.Boolean, scala.Int, scala.Float, scala.Long, scala.Double) " override def descriptiveComment = functionNTemplate.format("succ", "anonfun1", -""" * - * <b>val</b> succ = (x: Int) => x + 1 +""" + * val succ = (x: Int) => x + 1 * - * <b>val</b> anonfun1 = <b>new</b> Function1[Int, Int] { - * <b>def</b> apply(x: Int): Int = x + 1 + * val anonfun1 = new Function1[Int, Int] { + * def apply(x: Int): Int = x + 1 * } * * println(succ(0)) - * println(anonfun1(0))""") + * println(anonfun1(0)) + * """) override def moreMethods = """ /** (f compose g)(x) == f(g(x)) @@ -177,15 +164,16 @@ object FunctionTwo extends Function(2) { override def covariantSpecs = "@specialized(scala.Unit, scala.Boolean, scala.Int, scala.Float, scala.Long, scala.Double) " override def descriptiveComment = functionNTemplate.format("max", "anonfun2", -""" * - * <b>val</b> max = (x: Int, y: Int) => <b>if</b> (x < y) y <b>else</b> x +""" + * val max = (x: Int, y: Int) => if (x < y) y else x * - * <b>val</b> anonfun2 = <b>new</b> Function2[Int, Int, Int] { - * <b>def</b> apply(x: Int, y: Int): Int = <b>if</b> (x < y) y <b>else</b> x + * val anonfun2 = new Function2[Int, Int, Int] { + * def apply(x: Int, y: Int): Int = if (x < y) y else x * } * * println(max(0, 1)) - * println(anonfun2(0, 1))""") + * println(anonfun2(0, 1)) + * """) } object Function @@ -199,25 +187,21 @@ object Function } } -class Function(val i: Int) extends Group("Function") with Arity -{ - val functionNTemplate = """<p> +class Function(val i: Int) extends Group("Function") with Arity { + val functionNTemplate = """ * In the following example the definition of - * <code>%s</code> is a shorthand for the anonymous class - * definition <code>%s</code>: - * </p> - * <pre> - * <b>object</b> Main <b>extends</b> Application { -%s - * }</pre>""" + * %s is a shorthand for the anonymous class + * definition %s: + * + * {{{ + * object Main extends Application { %s } + * }}}""" def toStr() = "\"" + ("<function%d>" format i) + "\"" def apply() = { <file name={fileName}>{header} -/** <p> - * Function with {i} parameter{s}. - * </p> +/** Function with {i} parameter{s}. * {descriptiveComment} */ trait {className}{contraCoArgs} extends AnyRef {{ self => @@ -599,8 +583,18 @@ object ProductTwo extends Product(2) override def covariantSpecs = "@specialized(Int, Long, Double) " } -class Product(val i: Int) extends Group("Product") with Arity -{ +class Product(val i: Int) extends Group("Product") with Arity { + val productElementComment = """ + /** + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. + * + * @param n number of the projection to be returned + * @return same as _(n+1) + * @throws IndexOutOfBoundsException + */ +""" + def cases = { val xs = for ((x, i) <- mdefs.zipWithIndex) yield "case %d => %s".format(i, x) val default = "case _ => throw new IndexOutOfBoundsException(n.toString())" @@ -630,14 +624,7 @@ trait {className}{covariantArgs} extends Product {{ */ override def productArity = {i} - /** - * Returns the n-th projection of this product if 0&lt;=n&lt;arity, - * otherwise <code>null</code>. - * - * @param n number of the projection to be returned - * @return same as _(n+1) - * @throws IndexOutOfBoundsException - */ + {productElementComment} @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match {{ {cases} }} diff --git a/src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala b/src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala index 60df523d92..2f634092d6 100644 --- a/src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala +++ b/src/compiler/scala/tools/nsc/ast/parser/MarkupParsers.scala @@ -186,7 +186,7 @@ trait MarkupParsers } /** adds entity/character to ts as side-effect - * @precond ch == '&' + * @precond ch == '&' */ def content_AMP(ts: ArrayBuffer[Tree]) { nextch diff --git a/src/compiler/scala/tools/nsc/ast/parser/TreeBuilder.scala b/src/compiler/scala/tools/nsc/ast/parser/TreeBuilder.scala index fc2fe6f2a5..7a3321f6eb 100644 --- a/src/compiler/scala/tools/nsc/ast/parser/TreeBuilder.scala +++ b/src/compiler/scala/tools/nsc/ast/parser/TreeBuilder.scala @@ -204,7 +204,7 @@ abstract class TreeBuilder { } } - /** Create a tree representing an assignment <lhs = rhs> */ + /** Create a tree representing an assignment <lhs = rhs> */ def makeAssign(lhs: Tree, rhs: Tree): Tree = lhs match { case Apply(fn, args) => Apply(atPos(fn.pos) { Select(fn, nme.update) }, args ::: List(rhs)) @@ -238,7 +238,7 @@ abstract class TreeBuilder { else if (stats.length == 1) stats.head else Block(stats.init, stats.last) - /** Create tree for for-comprehension generator <val pat0 <- rhs0> */ + /** Create tree for for-comprehension generator <val pat0 <- rhs0> */ def makeGenerator(pos: Position, pat: Tree, valeq: Boolean, rhs: Tree): Enumerator = { val pat1 = patvarTransformer.transform(pat); val rhs1 = @@ -274,8 +274,8 @@ abstract class TreeBuilder { case class ValEq(pos: Position, pat: Tree, rhs: Tree) extends Enumerator case class Filter(pos: Position, test: Tree) extends Enumerator - /** Create tree for for-comprehension <for (enums) do body> or - * <for (enums) yield body> where mapName and flatMapName are chosen + /** Create tree for for-comprehension <for (enums) do body> or + * <for (enums) yield body> where mapName and flatMapName are chosen * corresponding to whether this is a for-do or a for-yield. * The creation performs the following rewrite rules: * @@ -411,11 +411,11 @@ abstract class TreeBuilder { // result } - /** Create tree for for-do comprehension <for (enums) body> */ + /** Create tree for for-do comprehension <for (enums) body> */ def makeFor(enums: List[Enumerator], body: Tree): Tree = makeFor(nme.foreach, nme.foreach, enums, body) - /** Create tree for for-yield comprehension <for (enums) yield body> */ + /** Create tree for for-yield comprehension <for (enums) yield body> */ def makeForYield(enums: List[Enumerator], body: Tree): Tree = makeFor(nme.map, nme.flatMap, enums, body) @@ -456,11 +456,11 @@ abstract class TreeBuilder { Function(List(makeSyntheticParam(x)), Match(sel, cases)) } - /** Create tree for case definition <case pat if guard => rhs> */ + /** Create tree for case definition <case pat if guard => rhs> */ def makeCaseDef(pat: Tree, guard: Tree, rhs: Tree): CaseDef = CaseDef(patvarTransformer.transform(pat), guard, rhs) - /** Create tree for pattern definition <val pat0 = rhs> */ + /** Create tree for pattern definition <val pat0 = rhs> */ def makePatDef(pat: Tree, rhs: Tree): List[Tree] = makePatDef(Modifiers(0), pat, rhs) diff --git a/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala b/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala index 7be9475f23..5a02de0907 100644 --- a/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala +++ b/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala @@ -652,7 +652,7 @@ abstract class GenJVM extends SubComponent { // add a fake local for debugging purpuses if (emitVars && isClosureApply(method.symbol)) { - val outerField = clasz.symbol.info.decl(nme.getterToLocal(nme.OUTER)) + val outerField = clasz.symbol.info.decl(nme.OUTER_LOCAL) if (outerField != NoSymbol) { log("Adding fake local to represent outer 'this' for closure " + clasz) val _this = new Local( diff --git a/src/compiler/scala/tools/nsc/transform/Erasure.scala b/src/compiler/scala/tools/nsc/transform/Erasure.scala index 023dd9c97d..3aa723bcfd 100644 --- a/src/compiler/scala/tools/nsc/transform/Erasure.scala +++ b/src/compiler/scala/tools/nsc/transform/Erasure.scala @@ -351,7 +351,7 @@ abstract class Erasure extends AddInterfaces with typechecker.Analyzer with ast. * <code>C</code> is the erased classinfo of the <code>Array</code> class * </li> * <li> - * For <code>Array[T].<init></code> : <code>{scala#Int)Array[T]</code> + * For <code>Array[T].<init></code> : <code>{scala#Int)Array[T]</code> * </li> * <li> * For a type parameter : A type bounds type consisting of the erasures @@ -540,8 +540,8 @@ abstract class Erasure extends AddInterfaces with typechecker.Analyzer with ast. * class <code>Object</code>. * </li> * <li> - * <code>new BoxedArray.<init>(len)</code> becomes - * <code>new BoxedAnyArray.<init>(len): BoxedArray</code> + * <code>new BoxedArray.<init>(len)</code> becomes + * <code>new BoxedAnyArray.<init>(len): BoxedArray</code> * (the widening typing is necessary so that subsequent member * symbols stay the same) * </li> diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala index 558e5107e8..fa62e24d96 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala @@ -110,7 +110,7 @@ trait Typers { self: Analyzer => val TAPPmode = 0x080 /** The mode <code>SUPERCONSTRmode</code> is set for the <code>super</code> - * in a superclass constructor call <code>super.<init></code>. + * in a superclass constructor call <code>super.<init></code>. */ val SUPERCONSTRmode = 0x100 diff --git a/src/library/scala/Function0.scala b/src/library/scala/Function0.scala index 09347783ef..8e2f35944b 100644 --- a/src/library/scala/Function0.scala +++ b/src/library/scala/Function0.scala @@ -6,34 +6,31 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with fancy comment) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with fancy comment) package scala -/** <p> - * Function with 0 parameters. - * </p> - * <p> +/** Function with 0 parameters. + * * In the following example the definition of - * <code>currentSeconds</code> is a shorthand for the anonymous class - * definition <code>anonfun0</code>: - * </p> - * <pre> - * <b>object</b> Main <b>extends</b> Application { + * currentSeconds is a shorthand for the anonymous class + * definition anonfun0: * - * <b>val</b> currentSeconds = () => System.currentTimeMillis() / 1000L + * {{{ + * object Main extends Application { + * val currentSeconds = () => System.currentTimeMillis() / 1000L * - * <b>val</b> anonfun0 = <b>new</b> Function0[Long] { - * <b>def</b> apply(): Long = System.currentTimeMillis() / 1000L + * val anonfun0 = new Function0[Long] { + * def apply(): Long = System.currentTimeMillis() / 1000L * } * * println(currentSeconds()) * println(anonfun0()) - * }</pre> + * } + * }}} */ trait Function0[@specialized +R] extends AnyRef { self => def apply(): R diff --git a/src/library/scala/Function1.scala b/src/library/scala/Function1.scala index 38b84025b9..f5855370a0 100644 --- a/src/library/scala/Function1.scala +++ b/src/library/scala/Function1.scala @@ -6,34 +6,31 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with fancy comment) (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with fancy comment) (with extra methods) package scala -/** <p> - * Function with 1 parameter. - * </p> - * <p> +/** Function with 1 parameter. + * * In the following example the definition of - * <code>succ</code> is a shorthand for the anonymous class - * definition <code>anonfun1</code>: - * </p> - * <pre> - * <b>object</b> Main <b>extends</b> Application { + * succ is a shorthand for the anonymous class + * definition anonfun1: * - * <b>val</b> succ = (x: Int) => x + 1 + * {{{ + * object Main extends Application { + * val succ = (x: Int) => x + 1 * - * <b>val</b> anonfun1 = <b>new</b> Function1[Int, Int] { - * <b>def</b> apply(x: Int): Int = x + 1 + * val anonfun1 = new Function1[Int, Int] { + * def apply(x: Int): Int = x + 1 * } * * println(succ(0)) * println(anonfun1(0)) - * }</pre> + * } + * }}} */ 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 => def apply(v1:T1): R diff --git a/src/library/scala/Function10.scala b/src/library/scala/Function10.scala index 64c5607505..c16d73b432 100644 --- a/src/library/scala/Function10.scala +++ b/src/library/scala/Function10.scala @@ -6,17 +6,14 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala -/** <p> - * Function with 10 parameters. - * </p> +/** Function with 10 parameters. * */ trait Function10[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, +R] extends AnyRef { self => diff --git a/src/library/scala/Function11.scala b/src/library/scala/Function11.scala index 18564bdc68..1a1bfea160 100644 --- a/src/library/scala/Function11.scala +++ b/src/library/scala/Function11.scala @@ -6,17 +6,14 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala -/** <p> - * Function with 11 parameters. - * </p> +/** Function with 11 parameters. * */ trait Function11[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, +R] extends AnyRef { self => diff --git a/src/library/scala/Function12.scala b/src/library/scala/Function12.scala index b669f18e8b..235db72549 100644 --- a/src/library/scala/Function12.scala +++ b/src/library/scala/Function12.scala @@ -6,17 +6,14 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala -/** <p> - * Function with 12 parameters. - * </p> +/** Function with 12 parameters. * */ trait Function12[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, +R] extends AnyRef { self => diff --git a/src/library/scala/Function13.scala b/src/library/scala/Function13.scala index 1a6da81a57..8424a93b3a 100644 --- a/src/library/scala/Function13.scala +++ b/src/library/scala/Function13.scala @@ -6,17 +6,14 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala -/** <p> - * Function with 13 parameters. - * </p> +/** Function with 13 parameters. * */ trait Function13[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, +R] extends AnyRef { self => diff --git a/src/library/scala/Function14.scala b/src/library/scala/Function14.scala index 85a069f1aa..119a3bda71 100644 --- a/src/library/scala/Function14.scala +++ b/src/library/scala/Function14.scala @@ -6,17 +6,14 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala -/** <p> - * Function with 14 parameters. - * </p> +/** Function with 14 parameters. * */ trait Function14[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, +R] extends AnyRef { self => diff --git a/src/library/scala/Function15.scala b/src/library/scala/Function15.scala index cdde24a450..97c44ffccf 100644 --- a/src/library/scala/Function15.scala +++ b/src/library/scala/Function15.scala @@ -6,17 +6,14 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala -/** <p> - * Function with 15 parameters. - * </p> +/** Function with 15 parameters. * */ trait Function15[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, +R] extends AnyRef { self => diff --git a/src/library/scala/Function16.scala b/src/library/scala/Function16.scala index 4f4806a9cf..b9ef67fdea 100644 --- a/src/library/scala/Function16.scala +++ b/src/library/scala/Function16.scala @@ -6,17 +6,14 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala -/** <p> - * Function with 16 parameters. - * </p> +/** Function with 16 parameters. * */ trait Function16[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, +R] extends AnyRef { self => diff --git a/src/library/scala/Function17.scala b/src/library/scala/Function17.scala index 44676996aa..a99b25b347 100644 --- a/src/library/scala/Function17.scala +++ b/src/library/scala/Function17.scala @@ -6,17 +6,14 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala -/** <p> - * Function with 17 parameters. - * </p> +/** Function with 17 parameters. * */ trait Function17[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, +R] extends AnyRef { self => diff --git a/src/library/scala/Function18.scala b/src/library/scala/Function18.scala index 6f74fd69c0..d9965b4031 100644 --- a/src/library/scala/Function18.scala +++ b/src/library/scala/Function18.scala @@ -6,17 +6,14 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala -/** <p> - * Function with 18 parameters. - * </p> +/** Function with 18 parameters. * */ trait Function18[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, +R] extends AnyRef { self => diff --git a/src/library/scala/Function19.scala b/src/library/scala/Function19.scala index f200fd6db1..557eaf0db8 100644 --- a/src/library/scala/Function19.scala +++ b/src/library/scala/Function19.scala @@ -6,17 +6,14 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala -/** <p> - * Function with 19 parameters. - * </p> +/** Function with 19 parameters. * */ trait Function19[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, +R] extends AnyRef { self => diff --git a/src/library/scala/Function2.scala b/src/library/scala/Function2.scala index 545bbb151d..cbc8f5bb99 100644 --- a/src/library/scala/Function2.scala +++ b/src/library/scala/Function2.scala @@ -6,34 +6,31 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with fancy comment) (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with fancy comment) (with extra methods) package scala -/** <p> - * Function with 2 parameters. - * </p> - * <p> +/** Function with 2 parameters. + * * In the following example the definition of - * <code>max</code> is a shorthand for the anonymous class - * definition <code>anonfun2</code>: - * </p> - * <pre> - * <b>object</b> Main <b>extends</b> Application { + * max is a shorthand for the anonymous class + * definition anonfun2: * - * <b>val</b> max = (x: Int, y: Int) => <b>if</b> (x < y) y <b>else</b> x + * {{{ + * object Main extends Application { + * val max = (x: Int, y: Int) => if (x < y) y else x * - * <b>val</b> anonfun2 = <b>new</b> Function2[Int, Int, Int] { - * <b>def</b> apply(x: Int, y: Int): Int = <b>if</b> (x < y) y <b>else</b> x + * val anonfun2 = new Function2[Int, Int, Int] { + * def apply(x: Int, y: Int): Int = if (x < y) y else x * } * * println(max(0, 1)) * println(anonfun2(0, 1)) - * }</pre> + * } + * }}} */ trait Function2[@specialized(scala.Int, scala.Long, scala.Double) -T1, @specialized(scala.Int, scala.Long, scala.Double) -T2, @specialized(scala.Unit, scala.Boolean, scala.Int, scala.Float, scala.Long, scala.Double) +R] extends AnyRef { self => def apply(v1:T1,v2:T2): R diff --git a/src/library/scala/Function20.scala b/src/library/scala/Function20.scala index 0a99abd4ec..83cbfb3a12 100644 --- a/src/library/scala/Function20.scala +++ b/src/library/scala/Function20.scala @@ -6,17 +6,14 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala -/** <p> - * Function with 20 parameters. - * </p> +/** Function with 20 parameters. * */ trait Function20[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, -T20, +R] extends AnyRef { self => diff --git a/src/library/scala/Function21.scala b/src/library/scala/Function21.scala index 9f99cc0966..c15972aae5 100644 --- a/src/library/scala/Function21.scala +++ b/src/library/scala/Function21.scala @@ -6,17 +6,14 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala -/** <p> - * Function with 21 parameters. - * </p> +/** Function with 21 parameters. * */ trait Function21[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, -T20, -T21, +R] extends AnyRef { self => diff --git a/src/library/scala/Function22.scala b/src/library/scala/Function22.scala index 6ddf1140e9..c2ccd9a192 100644 --- a/src/library/scala/Function22.scala +++ b/src/library/scala/Function22.scala @@ -6,17 +6,14 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala -/** <p> - * Function with 22 parameters. - * </p> +/** Function with 22 parameters. * */ trait Function22[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, -T20, -T21, -T22, +R] extends AnyRef { self => diff --git a/src/library/scala/Function3.scala b/src/library/scala/Function3.scala index 62369583df..d6d1c6c5ce 100644 --- a/src/library/scala/Function3.scala +++ b/src/library/scala/Function3.scala @@ -6,17 +6,14 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala -/** <p> - * Function with 3 parameters. - * </p> +/** Function with 3 parameters. * */ trait Function3[-T1, -T2, -T3, +R] extends AnyRef { self => diff --git a/src/library/scala/Function4.scala b/src/library/scala/Function4.scala index 0ff2595615..9bd6e266f3 100644 --- a/src/library/scala/Function4.scala +++ b/src/library/scala/Function4.scala @@ -6,17 +6,14 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala -/** <p> - * Function with 4 parameters. - * </p> +/** Function with 4 parameters. * */ trait Function4[-T1, -T2, -T3, -T4, +R] extends AnyRef { self => diff --git a/src/library/scala/Function5.scala b/src/library/scala/Function5.scala index c2442b2dbf..43e57bf420 100644 --- a/src/library/scala/Function5.scala +++ b/src/library/scala/Function5.scala @@ -6,17 +6,14 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala -/** <p> - * Function with 5 parameters. - * </p> +/** Function with 5 parameters. * */ trait Function5[-T1, -T2, -T3, -T4, -T5, +R] extends AnyRef { self => diff --git a/src/library/scala/Function6.scala b/src/library/scala/Function6.scala index d4f72f68eb..1bc2db50d5 100644 --- a/src/library/scala/Function6.scala +++ b/src/library/scala/Function6.scala @@ -6,17 +6,14 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala -/** <p> - * Function with 6 parameters. - * </p> +/** Function with 6 parameters. * */ trait Function6[-T1, -T2, -T3, -T4, -T5, -T6, +R] extends AnyRef { self => diff --git a/src/library/scala/Function7.scala b/src/library/scala/Function7.scala index c48f9112ff..26afbec58c 100644 --- a/src/library/scala/Function7.scala +++ b/src/library/scala/Function7.scala @@ -6,17 +6,14 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala -/** <p> - * Function with 7 parameters. - * </p> +/** Function with 7 parameters. * */ trait Function7[-T1, -T2, -T3, -T4, -T5, -T6, -T7, +R] extends AnyRef { self => diff --git a/src/library/scala/Function8.scala b/src/library/scala/Function8.scala index bfc57942e1..d8d9c39d81 100644 --- a/src/library/scala/Function8.scala +++ b/src/library/scala/Function8.scala @@ -6,17 +6,14 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala -/** <p> - * Function with 8 parameters. - * </p> +/** Function with 8 parameters. * */ trait Function8[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, +R] extends AnyRef { self => diff --git a/src/library/scala/Function9.scala b/src/library/scala/Function9.scala index af04539fb9..e687004413 100644 --- a/src/library/scala/Function9.scala +++ b/src/library/scala/Function9.scala @@ -6,17 +6,14 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala -/** <p> - * Function with 9 parameters. - * </p> +/** Function with 9 parameters. * */ trait Function9[-T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, +R] extends AnyRef { self => diff --git a/src/library/scala/Product1.scala b/src/library/scala/Product1.scala index d257b44447..3c513d1761 100644 --- a/src/library/scala/Product1.scala +++ b/src/library/scala/Product1.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product1[@specialized(Int, Long, Double) +T1] extends Product { */ override def productArity = 1 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product10.scala b/src/library/scala/Product10.scala index 6a9feab70e..252de76fce 100644 --- a/src/library/scala/Product10.scala +++ b/src/library/scala/Product10.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product10[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10] extends Produ */ override def productArity = 10 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product11.scala b/src/library/scala/Product11.scala index 604bf8382d..c5460ae86b 100644 --- a/src/library/scala/Product11.scala +++ b/src/library/scala/Product11.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product11[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11] extends */ override def productArity = 11 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product12.scala b/src/library/scala/Product12.scala index 7781d4e84f..c289ce5f7f 100644 --- a/src/library/scala/Product12.scala +++ b/src/library/scala/Product12.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product12[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12] e */ override def productArity = 12 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product13.scala b/src/library/scala/Product13.scala index b75077c811..db20321a05 100644 --- a/src/library/scala/Product13.scala +++ b/src/library/scala/Product13.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product13[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + */ override def productArity = 13 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product14.scala b/src/library/scala/Product14.scala index bf1014adc6..7ba68637f0 100644 --- a/src/library/scala/Product14.scala +++ b/src/library/scala/Product14.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product14[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + */ override def productArity = 14 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product15.scala b/src/library/scala/Product15.scala index 9436a5434b..39795e8950 100644 --- a/src/library/scala/Product15.scala +++ b/src/library/scala/Product15.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product15[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + */ override def productArity = 15 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product16.scala b/src/library/scala/Product16.scala index cb657617e7..68168122b7 100644 --- a/src/library/scala/Product16.scala +++ b/src/library/scala/Product16.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product16[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + */ override def productArity = 16 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product17.scala b/src/library/scala/Product17.scala index a4caf476b1..7dc3107448 100644 --- a/src/library/scala/Product17.scala +++ b/src/library/scala/Product17.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product17[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + */ override def productArity = 17 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product18.scala b/src/library/scala/Product18.scala index 47cafe5286..95efb37764 100644 --- a/src/library/scala/Product18.scala +++ b/src/library/scala/Product18.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product18[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + */ override def productArity = 18 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product19.scala b/src/library/scala/Product19.scala index 9ca00034e0..feed624682 100644 --- a/src/library/scala/Product19.scala +++ b/src/library/scala/Product19.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product19[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + */ override def productArity = 19 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product2.scala b/src/library/scala/Product2.scala index 720fb1d08e..812b60a8a5 100644 --- a/src/library/scala/Product2.scala +++ b/src/library/scala/Product2.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product2[@specialized(Int, Long, Double) +T1, @specialized(Int, Long, Doub */ override def productArity = 2 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product20.scala b/src/library/scala/Product20.scala index 02777fc127..04d76c5952 100644 --- a/src/library/scala/Product20.scala +++ b/src/library/scala/Product20.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product20[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + */ override def productArity = 20 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product21.scala b/src/library/scala/Product21.scala index d784e80ba1..e3b94c626d 100644 --- a/src/library/scala/Product21.scala +++ b/src/library/scala/Product21.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product21[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + */ override def productArity = 21 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product22.scala b/src/library/scala/Product22.scala index 208f3d2912..644d31b324 100644 --- a/src/library/scala/Product22.scala +++ b/src/library/scala/Product22.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product22[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + */ override def productArity = 22 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product3.scala b/src/library/scala/Product3.scala index c695b2c6c5..815199849e 100644 --- a/src/library/scala/Product3.scala +++ b/src/library/scala/Product3.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product3[+T1, +T2, +T3] extends Product { */ override def productArity = 3 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product4.scala b/src/library/scala/Product4.scala index d26e2a54e8..2f41eaa14e 100644 --- a/src/library/scala/Product4.scala +++ b/src/library/scala/Product4.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product4[+T1, +T2, +T3, +T4] extends Product { */ override def productArity = 4 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product5.scala b/src/library/scala/Product5.scala index 42bc69b8c3..5f9254ee50 100644 --- a/src/library/scala/Product5.scala +++ b/src/library/scala/Product5.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product5[+T1, +T2, +T3, +T4, +T5] extends Product { */ override def productArity = 5 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product6.scala b/src/library/scala/Product6.scala index a24268ecd7..2138f89332 100644 --- a/src/library/scala/Product6.scala +++ b/src/library/scala/Product6.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product6[+T1, +T2, +T3, +T4, +T5, +T6] extends Product { */ override def productArity = 6 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product7.scala b/src/library/scala/Product7.scala index a295a24c78..e43f4b3cf7 100644 --- a/src/library/scala/Product7.scala +++ b/src/library/scala/Product7.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product7[+T1, +T2, +T3, +T4, +T5, +T6, +T7] extends Product { */ override def productArity = 7 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product8.scala b/src/library/scala/Product8.scala index a7ee297bef..ae9e168ffe 100644 --- a/src/library/scala/Product8.scala +++ b/src/library/scala/Product8.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product8[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8] extends Product { */ override def productArity = 8 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Product9.scala b/src/library/scala/Product9.scala index c0e5d64142..02fe234928 100644 --- a/src/library/scala/Product9.scala +++ b/src/library/scala/Product9.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala @@ -29,14 +28,16 @@ trait Product9[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9] extends Product { */ override def productArity = 9 + /** - * Returns the n-th projection of this product if 0<=n<arity, - * otherwise null. + * Returns the n-th projection of this product if 0 < n <= productArity, + * otherwise throws IndexOutOfBoundsException. * * @param n number of the projection to be returned * @return same as _(n+1) * @throws IndexOutOfBoundsException */ + @throws(classOf[IndexOutOfBoundsException]) override def productElement(n: Int) = n match { case 0 => _1 diff --git a/src/library/scala/Tuple1.scala b/src/library/scala/Tuple1.scala index 698173948b..fcd665a465 100644 --- a/src/library/scala/Tuple1.scala +++ b/src/library/scala/Tuple1.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala diff --git a/src/library/scala/Tuple10.scala b/src/library/scala/Tuple10.scala index 5fafadc526..24bf20e55c 100644 --- a/src/library/scala/Tuple10.scala +++ b/src/library/scala/Tuple10.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala diff --git a/src/library/scala/Tuple11.scala b/src/library/scala/Tuple11.scala index f33460c90b..7a5cb121c7 100644 --- a/src/library/scala/Tuple11.scala +++ b/src/library/scala/Tuple11.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala diff --git a/src/library/scala/Tuple12.scala b/src/library/scala/Tuple12.scala index 8df5601426..02f5ac5d34 100644 --- a/src/library/scala/Tuple12.scala +++ b/src/library/scala/Tuple12.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala diff --git a/src/library/scala/Tuple13.scala b/src/library/scala/Tuple13.scala index 3c4b6bdeac..a6d613a93d 100644 --- a/src/library/scala/Tuple13.scala +++ b/src/library/scala/Tuple13.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala diff --git a/src/library/scala/Tuple14.scala b/src/library/scala/Tuple14.scala index f16b46cce9..f43270b102 100644 --- a/src/library/scala/Tuple14.scala +++ b/src/library/scala/Tuple14.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala diff --git a/src/library/scala/Tuple15.scala b/src/library/scala/Tuple15.scala index 503f131165..358957e079 100644 --- a/src/library/scala/Tuple15.scala +++ b/src/library/scala/Tuple15.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala diff --git a/src/library/scala/Tuple16.scala b/src/library/scala/Tuple16.scala index 46398884ee..39e32c187f 100644 --- a/src/library/scala/Tuple16.scala +++ b/src/library/scala/Tuple16.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala diff --git a/src/library/scala/Tuple17.scala b/src/library/scala/Tuple17.scala index 63516930fe..f6d25f3d92 100644 --- a/src/library/scala/Tuple17.scala +++ b/src/library/scala/Tuple17.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala diff --git a/src/library/scala/Tuple18.scala b/src/library/scala/Tuple18.scala index aacc6db44a..2e75a90038 100644 --- a/src/library/scala/Tuple18.scala +++ b/src/library/scala/Tuple18.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala diff --git a/src/library/scala/Tuple19.scala b/src/library/scala/Tuple19.scala index 3ff60e5fea..5d3da32f3b 100644 --- a/src/library/scala/Tuple19.scala +++ b/src/library/scala/Tuple19.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala diff --git a/src/library/scala/Tuple2.scala b/src/library/scala/Tuple2.scala index 460dd0e6aa..1050fa26fa 100644 --- a/src/library/scala/Tuple2.scala +++ b/src/library/scala/Tuple2.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala diff --git a/src/library/scala/Tuple20.scala b/src/library/scala/Tuple20.scala index 3affc1fdf9..a99a7a072b 100644 --- a/src/library/scala/Tuple20.scala +++ b/src/library/scala/Tuple20.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala diff --git a/src/library/scala/Tuple21.scala b/src/library/scala/Tuple21.scala index 26c72f1a83..daba5fdbf8 100644 --- a/src/library/scala/Tuple21.scala +++ b/src/library/scala/Tuple21.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala diff --git a/src/library/scala/Tuple22.scala b/src/library/scala/Tuple22.scala index 05fbefb7fb..1acf48c03d 100644 --- a/src/library/scala/Tuple22.scala +++ b/src/library/scala/Tuple22.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala diff --git a/src/library/scala/Tuple3.scala b/src/library/scala/Tuple3.scala index 876475c2e3..bd77157d05 100644 --- a/src/library/scala/Tuple3.scala +++ b/src/library/scala/Tuple3.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 (with extra methods) +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 (with extra methods) package scala diff --git a/src/library/scala/Tuple4.scala b/src/library/scala/Tuple4.scala index 8590314db6..689c2cedc5 100644 --- a/src/library/scala/Tuple4.scala +++ b/src/library/scala/Tuple4.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala diff --git a/src/library/scala/Tuple5.scala b/src/library/scala/Tuple5.scala index 3ac931f9b5..585380d996 100644 --- a/src/library/scala/Tuple5.scala +++ b/src/library/scala/Tuple5.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala diff --git a/src/library/scala/Tuple6.scala b/src/library/scala/Tuple6.scala index 089a394bb3..277cc713fa 100644 --- a/src/library/scala/Tuple6.scala +++ b/src/library/scala/Tuple6.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala diff --git a/src/library/scala/Tuple7.scala b/src/library/scala/Tuple7.scala index 24a29c5207..d22fe803c2 100644 --- a/src/library/scala/Tuple7.scala +++ b/src/library/scala/Tuple7.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala diff --git a/src/library/scala/Tuple8.scala b/src/library/scala/Tuple8.scala index 59b6c3d679..a5fa951da2 100644 --- a/src/library/scala/Tuple8.scala +++ b/src/library/scala/Tuple8.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala diff --git a/src/library/scala/Tuple9.scala b/src/library/scala/Tuple9.scala index 579ecc8577..06f1499694 100644 --- a/src/library/scala/Tuple9.scala +++ b/src/library/scala/Tuple9.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala diff --git a/src/library/scala/runtime/AbstractFunction0.scala b/src/library/scala/runtime/AbstractFunction0.scala index f7e636e081..6a025825c1 100644 --- a/src/library/scala/runtime/AbstractFunction0.scala +++ b/src/library/scala/runtime/AbstractFunction0.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction1.scala b/src/library/scala/runtime/AbstractFunction1.scala index dc57ae5841..4919a90751 100644 --- a/src/library/scala/runtime/AbstractFunction1.scala +++ b/src/library/scala/runtime/AbstractFunction1.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction10.scala b/src/library/scala/runtime/AbstractFunction10.scala index 2dc6291abd..9bf86d44c4 100644 --- a/src/library/scala/runtime/AbstractFunction10.scala +++ b/src/library/scala/runtime/AbstractFunction10.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction11.scala b/src/library/scala/runtime/AbstractFunction11.scala index 926d009c08..bf8bf2e10b 100644 --- a/src/library/scala/runtime/AbstractFunction11.scala +++ b/src/library/scala/runtime/AbstractFunction11.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction12.scala b/src/library/scala/runtime/AbstractFunction12.scala index 21d1ea08fb..ef4efa4f05 100644 --- a/src/library/scala/runtime/AbstractFunction12.scala +++ b/src/library/scala/runtime/AbstractFunction12.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction13.scala b/src/library/scala/runtime/AbstractFunction13.scala index a152eb1a77..9d9bf5f452 100644 --- a/src/library/scala/runtime/AbstractFunction13.scala +++ b/src/library/scala/runtime/AbstractFunction13.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction14.scala b/src/library/scala/runtime/AbstractFunction14.scala index 578057cc75..36a4c117f5 100644 --- a/src/library/scala/runtime/AbstractFunction14.scala +++ b/src/library/scala/runtime/AbstractFunction14.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction15.scala b/src/library/scala/runtime/AbstractFunction15.scala index 5504c64239..5e630188b0 100644 --- a/src/library/scala/runtime/AbstractFunction15.scala +++ b/src/library/scala/runtime/AbstractFunction15.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction16.scala b/src/library/scala/runtime/AbstractFunction16.scala index a2a5b9c442..f4096d1bf6 100644 --- a/src/library/scala/runtime/AbstractFunction16.scala +++ b/src/library/scala/runtime/AbstractFunction16.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction17.scala b/src/library/scala/runtime/AbstractFunction17.scala index 0d44cb263c..0609777cab 100644 --- a/src/library/scala/runtime/AbstractFunction17.scala +++ b/src/library/scala/runtime/AbstractFunction17.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction18.scala b/src/library/scala/runtime/AbstractFunction18.scala index 701d928b49..81fe7cc521 100644 --- a/src/library/scala/runtime/AbstractFunction18.scala +++ b/src/library/scala/runtime/AbstractFunction18.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction19.scala b/src/library/scala/runtime/AbstractFunction19.scala index 4360f43845..2a3b13fda7 100644 --- a/src/library/scala/runtime/AbstractFunction19.scala +++ b/src/library/scala/runtime/AbstractFunction19.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction2.scala b/src/library/scala/runtime/AbstractFunction2.scala index 8be9909fef..2e2c851cd8 100644 --- a/src/library/scala/runtime/AbstractFunction2.scala +++ b/src/library/scala/runtime/AbstractFunction2.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction20.scala b/src/library/scala/runtime/AbstractFunction20.scala index 0bff861cc4..828fc0550d 100644 --- a/src/library/scala/runtime/AbstractFunction20.scala +++ b/src/library/scala/runtime/AbstractFunction20.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction21.scala b/src/library/scala/runtime/AbstractFunction21.scala index 39daaab700..2536e9e8e9 100644 --- a/src/library/scala/runtime/AbstractFunction21.scala +++ b/src/library/scala/runtime/AbstractFunction21.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction22.scala b/src/library/scala/runtime/AbstractFunction22.scala index ed68e3cc4e..41aecb6618 100644 --- a/src/library/scala/runtime/AbstractFunction22.scala +++ b/src/library/scala/runtime/AbstractFunction22.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction3.scala b/src/library/scala/runtime/AbstractFunction3.scala index 66aef7e3d3..ff9a67d33e 100644 --- a/src/library/scala/runtime/AbstractFunction3.scala +++ b/src/library/scala/runtime/AbstractFunction3.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction4.scala b/src/library/scala/runtime/AbstractFunction4.scala index d09df303d9..bd63ba9e7f 100644 --- a/src/library/scala/runtime/AbstractFunction4.scala +++ b/src/library/scala/runtime/AbstractFunction4.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction5.scala b/src/library/scala/runtime/AbstractFunction5.scala index 28b7c6bc44..296026c2f3 100644 --- a/src/library/scala/runtime/AbstractFunction5.scala +++ b/src/library/scala/runtime/AbstractFunction5.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction6.scala b/src/library/scala/runtime/AbstractFunction6.scala index d50930b34a..e47fd3ef07 100644 --- a/src/library/scala/runtime/AbstractFunction6.scala +++ b/src/library/scala/runtime/AbstractFunction6.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction7.scala b/src/library/scala/runtime/AbstractFunction7.scala index 78e0336006..575eafdf37 100644 --- a/src/library/scala/runtime/AbstractFunction7.scala +++ b/src/library/scala/runtime/AbstractFunction7.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction8.scala b/src/library/scala/runtime/AbstractFunction8.scala index d449eecdc5..23543b406d 100644 --- a/src/library/scala/runtime/AbstractFunction8.scala +++ b/src/library/scala/runtime/AbstractFunction8.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime diff --git a/src/library/scala/runtime/AbstractFunction9.scala b/src/library/scala/runtime/AbstractFunction9.scala index 17129f9453..955499d5f9 100644 --- a/src/library/scala/runtime/AbstractFunction9.scala +++ b/src/library/scala/runtime/AbstractFunction9.scala @@ -6,8 +6,7 @@ ** |/ ** \* */ - -// generated by genprod on Thu Sep 16 10:52:35 PDT 2010 +// generated by genprod on Sat Oct 16 11:19:09 PDT 2010 package scala.runtime |