summaryrefslogtreecommitdiff
path: root/test/files/neg/bug836.check
diff options
context:
space:
mode:
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