summaryrefslogtreecommitdiff
path: root/test/files/run/multi-array.disabled
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2009-08-27 14:45:35 +0000
committerMartin Odersky <odersky@gmail.com>2009-08-27 14:45:35 +0000
commita04195e63727872f04ad01900a18f6ca9ec5cf2b (patch)
tree48964da67438a04e802a5c2324f0a02f2d22efb7 /test/files/run/multi-array.disabled
parent2c39b8b0839a5dfd48dfd073944f7b176cc63f4b (diff)
downloadscala-a04195e63727872f04ad01900a18f6ca9ec5cf2b.tar.gz
scala-a04195e63727872f04ad01900a18f6ca9ec5cf2b.tar.bz2
scala-a04195e63727872f04ad01900a18f6ca9ec5cf2b.zip
added manifests to most parts of standard libra...
added manifests to most parts of standard library which deal with arrays. One test is temporarily disabled, as it shows a deep problem with multi-dimensional arrays (which was present all along).
Diffstat (limited to 'test/files/run/multi-array.disabled')
-rw-r--r--test/files/run/multi-array.disabled12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/run/multi-array.disabled b/test/files/run/multi-array.disabled
new file mode 100644
index 0000000000..8c95453735
--- /dev/null
+++ b/test/files/run/multi-array.disabled
@@ -0,0 +1,12 @@
+object Test extends Application {
+ val a = Array(1, 2, 3)
+ println(a.deepToString)
+
+ val aaiIncomplete = new Array[Array[Array[Int]]](3)
+ println(aaiIncomplete(0))
+
+ val aaiComplete: Array[Array[Int]] = Array.ofDim[Int](3, 3) // new Array[Array[Int]](3, 3)
+ for (i <- 0 until 3; j <- 0 until 3)
+ aaiComplete(i)(j) = i + j
+ println(aaiComplete.deepToString)
+}