summaryrefslogblamecommitdiff
path: root/test/files/neg/bug875.check
blob: 63ad0f7eb00ef73d4b72a89d3b0ed69fcc417633 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                               
bug875.scala:3: error: _*-argument may not appear after other arguments matching a *-parameter
  val ys = List(1, 2, 3, xs: _*)
                           ^
bug875.scala:6: error: _*-argument does not correspond to *-parameter
  mkList(xs: _*)
           ^
bug875.scala:15: error: _*-argument may not appear after other arguments matching a *-parameter
  f(true, 1, xs: _*)
               ^
bug875.scala:16: error: _*-argument may not appear after other arguments matching a *-parameter
  g(1, xs:_*)
         ^
four errors found