summaryrefslogtreecommitdiff
path: root/test/files/neg/bug521.check
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2006-02-10 13:22:13 +0000
committermichelou <michelou@epfl.ch>2006-02-10 13:22:13 +0000
commit6b0d6745a442097a129ea40a01373b95c0132144 (patch)
tree0f8b6b296373c007ac267dcdcfdd3167e0c333a5 /test/files/neg/bug521.check
parent0bdfe0b5e6f389488a6bd22b878b74958be8964b (diff)
downloadscala-6b0d6745a442097a129ea40a01373b95c0132144.tar.gz
scala-6b0d6745a442097a129ea40a01373b95c0132144.tar.bz2
scala-6b0d6745a442097a129ea40a01373b95c0132144.zip
- removed trailing cr in file test/files/neg/bu...
- removed trailing cr in file test/files/neg/bug521.check
Diffstat (limited to 'test/files/neg/bug521.check')
-rw-r--r--test/files/neg/bug521.check8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/neg/bug521.check b/test/files/neg/bug521.check
index 818f80052e..4a80997bde 100644
--- a/test/files/neg/bug521.check
+++ b/test/files/neg/bug521.check
@@ -1,15 +1,15 @@
bug521.scala:12 error: class PlainFile needs to be abstract, since method path in class AbstractFile of type => java.lang.String is not defined
-class PlainFile(val file : File) extends AbstractFile {}
+class PlainFile(val file : File) extends AbstractFile {}
^
bug521.scala:21 error: error overriding value file in class PlainFile of type => java.io.File;
value file needs `override' modifier
-final class ZipArchive(val file : File, archive : ZipFile) extends PlainFile(file) {
+final class ZipArchive(val file : File, archive : ZipFile) extends PlainFile(file) {
^
bug521.scala:21 error: class ZipArchive needs to be abstract, since method path in class AbstractFile of type => java.lang.String is not defined
-final class ZipArchive(val file : File, archive : ZipFile) extends PlainFile(file) {
+final class ZipArchive(val file : File, archive : ZipFile) extends PlainFile(file) {
^
bug521.scala:23 error: error overriding value path in class VirtualFile of type => java.lang.String;
method path needs to be an immutable value
- override def path = "";
+ override def path = "";
^
four errors found