blob: fc944bf879641be8bc1b6937920eeb4e5adf4ebb (
plain) (
blame)
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
|