summaryrefslogtreecommitdiff
path: root/test/files/neg
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg')
-rw-r--r--test/files/neg/bug562.check6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/files/neg/bug562.check b/test/files/neg/bug562.check
index 2cec407d45..638d758b8d 100644
--- a/test/files/neg/bug562.check
+++ b/test/files/neg/bug562.check
@@ -1,6 +1,4 @@
-bug562.scala:10: error: error overriding value y in trait YYY of type Int;
- value y cannot override a value or variable definition in a trait
- (this is an implementation restriction)
+bug562.scala:10: error: super may be not be used on value y
override val y = super.y;
- ^
+ ^
one error found