summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTiark Rompf <tiark.rompf@epfl.ch>2009-10-10 08:25:39 +0000
committerTiark Rompf <tiark.rompf@epfl.ch>2009-10-10 08:25:39 +0000
commit50184e58479d343942d5981f7b892e4cd401a787 (patch)
treec0fdece68da70bc82ba6ffe0f5ba4ff6603bff74 /src
parent4e715240620d6548dd330253a1ee8ee34112b8e2 (diff)
downloadscala-50184e58479d343942d5981f7b892e4cd401a787.tar.gz
scala-50184e58479d343942d5981f7b892e4cd401a787.tar.bz2
scala-50184e58479d343942d5981f7b892e4cd401a787.zip
fixed npe when iterating over empty vector
Diffstat (limited to 'src')
-rw-r--r--src/library/scala/collection/immutable/Vector.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/library/scala/collection/immutable/Vector.scala b/src/library/scala/collection/immutable/Vector.scala
index 9c86f4ff4d..e2ccc96430 100644
--- a/src/library/scala/collection/immutable/Vector.scala
+++ b/src/library/scala/collection/immutable/Vector.scala
@@ -11,6 +11,11 @@
// Work in progress for a new immutable vector implementation.
// This code is still preliminary, so expect things to change somewhat.
+// Questions: how to call update, appendFront, appendBack?
+// how to make them available? trait Vector? VectorLike? have another companion object VectorImpl?
+// mix in LinearSeq?
+
+
package scala.collection
package immutable