summaryrefslogblamecommitdiff
path: root/test/files/neg/bug960.check
blob: fc944bf879641be8bc1b6937920eeb4e5adf4ebb (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