summaryrefslogtreecommitdiff
path: root/test/files/neg/abstract.check
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2006-12-01 16:32:05 +0000
committerMartin Odersky <odersky@gmail.com>2006-12-01 16:32:05 +0000
commit4f6a14b33d664dede92b8d7063d7cd437023d987 (patch)
tree56aca630fd98a8be62798e52b6f03900d4166275 /test/files/neg/abstract.check
parent8a9719c222b39a35b70fef7b5eb56c842fa2cea0 (diff)
downloadscala-4f6a14b33d664dede92b8d7063d7cd437023d987.tar.gz
scala-4f6a14b33d664dede92b8d7063d7cd437023d987.tar.bz2
scala-4f6a14b33d664dede92b8d7063d7cd437023d987.zip
updated tests.
Diffstat (limited to 'test/files/neg/abstract.check')
-rw-r--r--test/files/neg/abstract.check10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/files/neg/abstract.check b/test/files/neg/abstract.check
index 86fded0fce..a64a5da85f 100644
--- a/test/files/neg/abstract.check
+++ b/test/files/neg/abstract.check
@@ -1,11 +1,19 @@
+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();
^
-two errors found
+four errors found