summaryrefslogblamecommitdiff
path: root/test/files/pos/bug1136.scala
blob: fcceaf5473fba1abe9b519e881721ddfc0320374 (plain) (tree)
1
2
3
4
5
6
7
8







                                     
object test {
  def foo(s: Int*): Unit = {
    s.toList match {
      case t: List[Int] => foo(t: _*)
      case _ =>
    }
  }
}