summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-02-04 22:07:20 -0800
committerPaul Phillips <paulp@improving.org>2012-02-04 22:07:20 -0800
commit732a080fcb84abf35b599b518849ec421cc9cbd1 (patch)
tree869975c87ce7f765f6ae449a68c2e4d6fbdf08b8 /test/files
parentb265d014416f1c4c6b22d47b4be16b22499dc05f (diff)
downloadscala-732a080fcb84abf35b599b518849ec421cc9cbd1.tar.gz
scala-732a080fcb84abf35b599b518849ec421cc9cbd1.tar.bz2
scala-732a080fcb84abf35b599b518849ec421cc9cbd1.zip
Checkfile output update for AnyVal class.
And with that one, I believe all tests pass.
Diffstat (limited to 'test/files')
-rw-r--r--test/files/neg/anyval-children.check5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/neg/anyval-children.check b/test/files/neg/anyval-children.check
index f1149a5ce3..769f990210 100644
--- a/test/files/neg/anyval-children.check
+++ b/test/files/neg/anyval-children.check
@@ -1,3 +1,6 @@
+anyval-children.scala:3: error: class AnyVal needs to be a trait to be mixed in
+@inline class NotOkDingus2 extends Immutable with AnyVal // fail
+ ^
anyval-children.scala:7: error: Bippy does not have a constructor
class NotOkBippy1 extends Bippy // fail
^
@@ -17,4 +20,4 @@ anyval-children.scala:11: error: illegal inheritance; superclass Bippy
anyval-children.scala:11: error: Bippy does not have a constructor
@inline class NotOkBippy3 extends Bippy with Immutable //fail
^
-5 errors found
+6 errors found