summaryrefslogtreecommitdiff
path: root/test/files/neg
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg')
-rw-r--r--test/files/neg/bug421.check3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/files/neg/bug421.check b/test/files/neg/bug421.check
index 8cf29fa4e2..71daba2881 100644
--- a/test/files/neg/bug421.check
+++ b/test/files/neg/bug421.check
@@ -1,5 +1,4 @@
-bug421.scala:5: error: no regular expression pattern allowed here
-(regular expression patterns are only allowed in arguments to *-parameters)
+bug421.scala:5: error: star patterns must correspond with varargs parameters
case Bar("foo",_*) => error("huh?");
^
one error found