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






                                                         
bug960.scala:18: error: cannot resolve overloaded unapply
    case List(x, xs) => 7
         ^
bug960.scala:12: error: method unapply is defined twice
  def unapply[a](xs: List[a]): Option[Null] = xs match {
  ^
two errors found