diff options
author | ilyas <ilyas@epfl.ch> | 2009-08-20 13:22:48 +0000 |
---|---|---|
committer | ilyas <ilyas@epfl.ch> | 2009-08-20 13:22:48 +0000 |
commit | 522bf3a7d81310cf569932c1fef89c4053238916 (patch) | |
tree | 47618e51794c456a35252d257301b94a9330604a /src | |
parent | 0ae54e25fbdbde5bb71a9c9eb84c37a0dbc42a99 (diff) | |
download | scala-522bf3a7d81310cf569932c1fef89c4053238916.tar.gz scala-522bf3a7d81310cf569932c1fef89c4053238916.tar.bz2 scala-522bf3a7d81310cf569932c1fef89c4053238916.zip |
[rev:Adriaan] dummy implementation for update t...
[rev:Adriaan] dummy implementation for update to fix deep function
compilation
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/runtime/BoxedArray.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library/scala/runtime/BoxedArray.scala b/src/library/scala/runtime/BoxedArray.scala index 5e1bf47c9c..ecb402297d 100644 --- a/src/library/scala/runtime/BoxedArray.scala +++ b/src/library/scala/runtime/BoxedArray.scala @@ -63,6 +63,7 @@ abstract class BoxedArray[A] extends Vector[A] with VectorTemplate[A, BoxedArray case elem: AnyRef if ScalaRunTime.isArray(elem) => ScalaRunTime.boxArray(elem).deep case elem => elem } + def update(idx: Int, elem: Any) = error("Result of deep cannot be updated.") override def stringPrefix = "Array" } |