diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/neg/bug421.check | 3 |
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 |