diff options
author | Martin Odersky <odersky@gmail.com> | 2010-04-06 13:53:39 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2010-04-06 13:53:39 +0000 |
commit | e0cf98dd424980a8d6d93af7650ba75c835b80bc (patch) | |
tree | 5f6b70d06f33a7a18dc4ac014df0025863f0cc94 /test/files/run/viewtest.scala | |
parent | a292a87fc5b6145ea3a790780c0d24c83375b228 (diff) | |
download | scala-e0cf98dd424980a8d6d93af7650ba75c835b80bc.tar.gz scala-e0cf98dd424980a8d6d93af7650ba75c835b80bc.tar.bz2 scala-e0cf98dd424980a8d6d93af7650ba75c835b80bc.zip |
Optimized toArray for ArrayOps and WrappedArrays.
Diffstat (limited to 'test/files/run/viewtest.scala')
-rwxr-xr-x | test/files/run/viewtest.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/viewtest.scala b/test/files/run/viewtest.scala index 280ded57cf..833c0101e3 100755 --- a/test/files/run/viewtest.scala +++ b/test/files/run/viewtest.scala @@ -13,7 +13,7 @@ object Test extends Application { println(ys.force) val zs = Array(1, 2, 3).view - val as: IndexedSeqView[Int, Array[Int]] = zs map (_ + 1) + val as: SeqView[Int, Array[Int]] = zs map (_ + 1) val bs: Array[Int] = as.force val cs = zs.reverse cs(0) += 1 |