diff options
author | Som Snytt <som.snytt@gmail.com> | 2013-10-17 16:41:18 -0700 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2013-11-08 11:09:20 -0800 |
commit | ef273e4790528f267655fff147c712941cc7ce1a (patch) | |
tree | bbf7c4199606fa271833928506d2b0bb4044ab9b /test/files/neg/t1878.check | |
parent | 19e68d6974c3067814b818b4dfd7d15461a9ef29 (diff) | |
download | scala-ef273e4790528f267655fff147c712941cc7ce1a.tar.gz scala-ef273e4790528f267655fff147c712941cc7ce1a.tar.bz2 scala-ef273e4790528f267655fff147c712941cc7ce1a.zip |
Parser stack reduction discussion
Check files
Diffstat (limited to 'test/files/neg/t1878.check')
-rw-r--r-- | test/files/neg/t1878.check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/t1878.check b/test/files/neg/t1878.check index ac2071c3d8..5814375515 100644 --- a/test/files/neg/t1878.check +++ b/test/files/neg/t1878.check @@ -1,7 +1,7 @@ -t1878.scala:3: error: bad use of _* (a sequence pattern must be the last pattern) +t1878.scala:3: error: bad simple pattern: bad use of _* (a sequence pattern must be the last pattern) val err1 = "" match { case Seq(f @ _*, ',') => f } ^ -t1878.scala:9: error: bad use of _* (a sequence pattern must be the last pattern) +t1878.scala:9: error: bad simple pattern: bad use of _* (a sequence pattern must be the last pattern) val List(List(_*, arg2), _) = List(List(1,2,3), List(4,5,6)) ^ two errors found |