diff options
Diffstat (limited to 'newsources')
-rwxr-xr-x | newsources/scala/Array.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/newsources/scala/Array.scala b/newsources/scala/Array.scala index 6172a6f77d..c98c209ffe 100755 --- a/newsources/scala/Array.scala +++ b/newsources/scala/Array.scala @@ -10,8 +10,8 @@ package scala; -final class Array[T](val length: Int) extends Cloneable with java.io.Serializable with Seq[T] { - def apply(i: Int): T = throw new Error(); - def update(i: Int, x: T): Unit = throw new Error(); - def elements: Iterator[T] = throw new Error(); +final class Array[A](val length: Int) extends Cloneable with java.io.Serializable with Seq[A] { + def apply(i: Int): A = throw new Error(); + def update(i: Int, x: A): Unit = throw new Error(); + def elements: Iterator[A] = throw new Error(); } |