diff options
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/neg/t421.check | 2 | ||||
-rw-r--r-- | test/files/neg/t5702-neg-bad-brace.check | 11 |
2 files changed, 8 insertions, 5 deletions
diff --git a/test/files/neg/t421.check b/test/files/neg/t421.check index d16e541868..dc5fa425ac 100644 --- a/test/files/neg/t421.check +++ b/test/files/neg/t421.check @@ -1,4 +1,4 @@ t421.scala:5: error: star patterns must correspond with varargs parameters case Bar("foo",_*) => sys.error("huh?"); - ^ + ^ one error found diff --git a/test/files/neg/t5702-neg-bad-brace.check b/test/files/neg/t5702-neg-bad-brace.check index a4a00814d3..503f7d95ed 100644 --- a/test/files/neg/t5702-neg-bad-brace.check +++ b/test/files/neg/t5702-neg-bad-brace.check @@ -1,7 +1,10 @@ t5702-neg-bad-brace.scala:14: error: Unmatched closing brace '}' ignored here case List(1, _*} => ^ -t5702-neg-bad-brace.scala:17: error: eof expected but '}' found. -} -^ -two errors found +t5702-neg-bad-brace.scala:14: error: illegal start of simple pattern + case List(1, _*} => + ^ +t5702-neg-bad-brace.scala:15: error: ')' expected but '}' found. + } + ^ +three errors found |