summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/files/neg/bug409.check2
-rw-r--r--test/files/neg/bug877.check2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/bug409.check b/test/files/neg/bug409.check
index 52327d54a5..296a85ab73 100644
--- a/test/files/neg/bug409.check
+++ b/test/files/neg/bug409.check
@@ -1,4 +1,4 @@
-bug409.scala:6: error: ';' expected but '(' found.
+bug409.scala:6: error: mixins may not have parameters
class Toto extends Expr with Case1(12);
^
one error found
diff --git a/test/files/neg/bug877.check b/test/files/neg/bug877.check
index 297dfe6a97..6c262cdcb9 100644
--- a/test/files/neg/bug877.check
+++ b/test/files/neg/bug877.check
@@ -1,4 +1,4 @@
-bug877.scala:3: error: ';' expected but '(' found.
+bug877.scala:3: error: parents of traits may not have parameters
trait Foo extends A(22A, Bug!) {}
^
one error found