summaryrefslogtreecommitdiff
path: root/test/files/neg/abstract.check
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2007-11-16 15:57:40 +0000
committerMartin Odersky <odersky@gmail.com>2007-11-16 15:57:40 +0000
commit41be228d1a658540125eed984a48f8ea9a500927 (patch)
tree5299850fad5b253e68c991c9ea90c2bfd1b3d665 /test/files/neg/abstract.check
parent7b61cfa3e46c52f848e1077a27fbb3ab7456d83b (diff)
downloadscala-41be228d1a658540125eed984a48f8ea9a500927.tar.gz
scala-41be228d1a658540125eed984a48f8ea9a500927.tar.bz2
scala-41be228d1a658540125eed984a48f8ea9a500927.zip
fixed #209
Diffstat (limited to 'test/files/neg/abstract.check')
-rw-r--r--test/files/neg/abstract.check10
1 files changed, 1 insertions, 9 deletions
diff --git a/test/files/neg/abstract.check b/test/files/neg/abstract.check
index c33011bb55..b73539112a 100644
--- a/test/files/neg/abstract.check
+++ b/test/files/neg/abstract.check
@@ -1,19 +1,11 @@
-abstract.scala:5: error: method bar cannot be accessed in A.this.T
- because its instance type ()A.this.T#T contains a malformed type: A.this.T#T
- def foo1: A = bar().bar();
- ^
abstract.scala:6: error: type mismatch;
found : A
required: A.this.T
def foo2: T = bar().baz();
^
-abstract.scala:8: error: method bar cannot be accessed in A
- because its instance type ()A#T contains a malformed type: A#T
- def foo4: A = baz().bar();
- ^
abstract.scala:9: error: type mismatch;
found : A
required: A.this.T
def foo5: T = baz().baz();
^
-four errors found
+two errors found