summaryrefslogtreecommitdiff
path: root/test/files/neg
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/neg
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/neg')
-rw-r--r--test/files/neg/bug550.check2
-rw-r--r--test/files/neg/multi-array.check2
-rw-r--r--test/files/neg/t0226.check2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/files/neg/bug550.check b/test/files/neg/bug550.check
index bf92f6bb05..e1650b7ab1 100644
--- a/test/files/neg/bug550.check
+++ b/test/files/neg/bug550.check
@@ -1,7 +1,7 @@
bug550.scala:6: error: type List takes type parameters
def sum[a](xs: List)(implicit m: Monoid[a]): a =
^
-bug550.scala:8: error: could not find implicit value for parameter m:Monoid[a].
+bug550.scala:8: error: could not find implicit value for parameter m: Monoid[a]
sum(List(1,2,3))
^
two errors found
diff --git a/test/files/neg/multi-array.check b/test/files/neg/multi-array.check
index 49ffdefbf7..f8432a76b8 100644
--- a/test/files/neg/multi-array.check
+++ b/test/files/neg/multi-array.check
@@ -1,7 +1,7 @@
multi-array.scala:6: warning: new Array(...) with multiple dimensions has been deprecated; use Array.ofDim(...) instead
val a: Array[Int] = new Array(10, 10)
^
-multi-array.scala:6: error: too many arguments for array constructor: found 2 but array has only 1 dimension(s)
+multi-array.scala:6: error: too many dimensions for array creation
val a: Array[Int] = new Array(10, 10)
^
one warning found
diff --git a/test/files/neg/t0226.check b/test/files/neg/t0226.check
index 8464d72914..af81e41a6a 100644
--- a/test/files/neg/t0226.check
+++ b/test/files/neg/t0226.check
@@ -4,7 +4,7 @@ t0226.scala:5: error: not found: type A1
t0226.scala:5: error: not found: type A1
(implicit _1: Foo[List[A1]], _2: Foo[A2]): Foo[Tuple2[List[A1], A2]] =
^
-t0226.scala:8: error: could not find implicit value for parameter rep:Test.this.Foo[((List[Char], Int), (object Nil, Int))].
+t0226.scala:8: error: could not find implicit value for parameter rep: Test.this.Foo[((List[Char], Int), (object Nil, Int))]
foo(((List('b'), 3), (Nil, 4)))
^
three errors found