summaryrefslogtreecommitdiff
path: root/test/files/neg/t1878.check
blob: f3a6701d413efe6f8fd1bb6d621ba71d8e911b1c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
t1878.scala:3: error: _* may only come last
  val err1 = "" match { case Seq(f @ _*, ',') => f }
                                 ^
t1878.scala:3: error: scrutinee is incompatible with pattern type;
 found   : Seq[A]
 required: String
  val err1 = "" match { case Seq(f @ _*, ',') => f }
                                ^
t1878.scala:9: error: _* may only come last
  val List(List(_*, arg2), _) = List(List(1,2,3), List(4,5,6))
                 ^
t1878.scala:13: error: _* may only come last
    case <p> { _* } </p> =>
                ^
four errors found