summaryrefslogtreecommitdiff
path: root/test/neg/bug128_129.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/neg/bug128_129.check')
-rw-r--r--test/neg/bug128_129.check9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/neg/bug128_129.check b/test/neg/bug128_129.check
index d410b57095..79b20ec4a5 100644
--- a/test/neg/bug128_129.check
+++ b/test/neg/bug128_129.check
@@ -1,7 +1,10 @@
-bug128_129.scala:3: variable not allowed under alternative
+bug128_129.scala:3: '=' expected but identifier found.
val x | 1 = 2; // not allowed
- ^
+ ^
+bug128_129.scala:3: illegal start of expression
+ val x | 1 = 2; // not allowed
+ ^
bug128_129.scala:10: recursive patterns not allowed
case PT(a@PT(a)) => // not allowed
^
-two errors found
+three errors found