summaryrefslogtreecommitdiff
path: root/test/files/neg/t5702-neg-bad-and-wild.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t5702-neg-bad-and-wild.check')
-rw-r--r--test/files/neg/t5702-neg-bad-and-wild.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t5702-neg-bad-and-wild.check b/test/files/neg/t5702-neg-bad-and-wild.check
index ff9e5e5703..a52136dbf8 100644
--- a/test/files/neg/t5702-neg-bad-and-wild.check
+++ b/test/files/neg/t5702-neg-bad-and-wild.check
@@ -23,6 +23,6 @@ t5702-neg-bad-and-wild.scala:23: error: bad simple pattern: bad use of _* (a seq
val K(ns @ _*, x) = k // bad use of _* (a sequence pattern must be the last pattern)
^
t5702-neg-bad-and-wild.scala:24: error: bad simple pattern: bad use of _* (sequence pattern not allowed)
- val (b, _ * ) = Pair(5,6) // bad use of _* (sequence pattern not allowed)
+ val (b, _ * ) = (5,6) // bad use of _* (sequence pattern not allowed)
^
9 errors found