summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2005-07-27 17:28:48 +0000
committermichelou <michelou@epfl.ch>2005-07-27 17:28:48 +0000
commitc8b79c9ee7acf09a8cb2c5d93673ec4f0b64864c (patch)
treef8fa6274d803c4218c5a9c7429994324f09627e9
parent2f19f317f455c81de6fb9f1f99409aec4e49ea6b (diff)
downloadscala-c8b79c9ee7acf09a8cb2c5d93673ec4f0b64864c.tar.gz
scala-c8b79c9ee7acf09a8cb2c5d93673ec4f0b64864c.tar.bz2
scala-c8b79c9ee7acf09a8cb2c5d93673ec4f0b64864c.zip
- changed code for deprecated def-parameters.
-rwxr-xr-xsources/scala/tools/scaladoc/MLType.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scala/tools/scaladoc/MLType.scala b/sources/scala/tools/scaladoc/MLType.scala
index b70d591cfb..467424dbfd 100755
--- a/sources/scala/tools/scaladoc/MLType.scala
+++ b/sources/scala/tools/scaladoc/MLType.scala
@@ -1,6 +1,6 @@
/* ____ ____ ____ ____ ______ *\
** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala **
-** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL **
+** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002-2005, LAMP/EPFL **
** /_____/\____/\___/\____/____/ **
\* */
@@ -502,7 +502,7 @@ package scala.tools.scaladoc {
buf.toString()
}
- def foreach(a: Array[Symbol])(def f: Symbol => Symbol): Array[Symbol] = {
+ def foreach(a: Array[Symbol])(f: Symbol => Symbol): Array[Symbol] = {
val b = new Array[Symbol](a.length);
for(val i <- List.range(0, a.length)) b(i) = f(a(i));
b