summaryrefslogblamecommitdiff
path: root/test/files/neg/t1878.check
blob: ac2071c3d82f1d7fbf060460fdd4b814eceb26b5 (plain) (tree)
1
2
3
4
5
6
7
                                                                                 
                                                    

                                                                                 
                                                              

                   
t1878.scala:3: error: 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)
  val List(List(_*, arg2), _) = List(List(1,2,3), List(4,5,6))
                  ^
two errors found