summaryrefslogtreecommitdiff
path: root/test/files/neg/bug836.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/bug836.check
parent7b61cfa3e46c52f848e1077a27fbb3ab7456d83b (diff)
downloadscala-41be228d1a658540125eed984a48f8ea9a500927.tar.gz
scala-41be228d1a658540125eed984a48f8ea9a500927.tar.bz2
scala-41be228d1a658540125eed984a48f8ea9a500927.zip
fixed #209
Diffstat (limited to 'test/files/neg/bug836.check')
-rw-r--r--test/files/neg/bug836.check9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/files/neg/bug836.check b/test/files/neg/bug836.check
index 1fcae2ecb3..4949e2cd66 100644
--- a/test/files/neg/bug836.check
+++ b/test/files/neg/bug836.check
@@ -1,5 +1,6 @@
-bug836.scala:6: error: type S cannot be accessed in A.this.MyObj
- because its instance type A.this.MyObj#S is malformed
- type S = MyObj#S
- ^
+bug836.scala:9: error: type mismatch;
+ found : Any
+ required: A.this.S
+ val some: S = any // compiles => type X is set to scala.Any
+ ^
one error found