summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorilyas <ilyas@epfl.ch>2009-08-20 13:22:48 +0000
committerilyas <ilyas@epfl.ch>2009-08-20 13:22:48 +0000
commit522bf3a7d81310cf569932c1fef89c4053238916 (patch)
tree47618e51794c456a35252d257301b94a9330604a /src
parent0ae54e25fbdbde5bb71a9c9eb84c37a0dbc42a99 (diff)
downloadscala-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.scala1
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"
}