diff options
author | Martin Odersky <odersky@gmail.com> | 2006-06-27 15:27:12 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2006-06-27 15:27:12 +0000 |
commit | 972ecebb2794655b543fde5c8a4f75614729ce5c (patch) | |
tree | 185a9cdad776cd2bda468f79797ff362fa22e006 /test/files/neg/bug563.check | |
parent | 5a17c91819ebeca83dcdfcfb1dc49e1bc7322a87 (diff) | |
download | scala-972ecebb2794655b543fde5c8a4f75614729ce5c.tar.gz scala-972ecebb2794655b543fde5c8a4f75614729ce5c.tar.bz2 scala-972ecebb2794655b543fde5c8a4f75614729ce5c.zip |
Fixed bugs 633, 637, 639, 640
Diffstat (limited to 'test/files/neg/bug563.check')
-rw-r--r-- | test/files/neg/bug563.check | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/files/neg/bug563.check b/test/files/neg/bug563.check index 0f2eac240e..3c7423ea7d 100644 --- a/test/files/neg/bug563.check +++ b/test/files/neg/bug563.check @@ -1,9 +1,4 @@ bug563.scala:6 error: missing parameter type map(n,ptr => new Cell(ptr.elem)); ^ -bug563.scala:6 error: no type parameters for method map: (scala.List[A],(A) => R)scala.List[R] exist so that it can be applied to arguments (scala.List[scala.Cell[scala.Int]],(<error>) => <error>) - --- because --- -result type scala.List[R] is incompatible with expected type scala.Unit - map(n,ptr => new Cell(ptr.elem)); - ^ -two errors found +one error found |