summaryrefslogtreecommitdiff
path: root/test/files/neg/bug521.check
diff options
context:
space:
mode:
authorBurak Emir <emir@epfl.ch>2007-01-07 11:09:14 +0000
committerBurak Emir <emir@epfl.ch>2007-01-07 11:09:14 +0000
commitdae92a5589e0719ab6fa22f047deb35d25c14fc4 (patch)
tree226d92dfa32e75afe6d9a2e139188395eef8fccb /test/files/neg/bug521.check
parent2f6d0cf0fd127be610e2627d89d363fe8cbb1cfe (diff)
downloadscala-dae92a5589e0719ab6fa22f047deb35d25c14fc4.tar.gz
scala-dae92a5589e0719ab6fa22f047deb35d25c14fc4.tar.bz2
scala-dae92a5589e0719ab6fa22f047deb35d25c14fc4.zip
added colon
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 e7b149dca4..eac2087f71 100644
--- a/test/files/neg/bug521.check
+++ b/test/files/neg/bug521.check
@@ -1,14 +1,14 @@
-bug521.scala:10 error: class PlainFile needs to be abstract, since method path in class AbstractFile of type => java.lang.String is not defined
+bug521.scala:10: 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 {}
^
-bug521.scala:13 error: error overriding value file in class PlainFile of type java.io.File;
+bug521.scala:13: 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) {
^
-bug521.scala:13 error: class ZipArchive needs to be abstract, since method path in class AbstractFile of type => java.lang.String is not defined
+bug521.scala:13: 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) {
^
-bug521.scala:15 error: error overriding value path in class VirtualFile of type java.lang.String;
+bug521.scala:15: error: error overriding value path in class VirtualFile of type java.lang.String;
method path needs to be an immutable value
override def path = "";
^