diff options
Diffstat (limited to 'test/files/neg/bug960.check')
-rw-r--r-- | test/files/neg/bug960.check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/bug960.check b/test/files/neg/bug960.check index 7929176c87..fc944bf879 100644 --- a/test/files/neg/bug960.check +++ b/test/files/neg/bug960.check @@ -1,7 +1,7 @@ bug960.scala:18: error: cannot resolve overloaded unapply - case List(x, xs) => 7
+ case List(x, xs) => 7 ^ bug960.scala:12: error: method unapply is defined twice - def unapply[a](xs: List[a]): Option[Null] = xs match {
+ def unapply[a](xs: List[a]): Option[Null] = xs match { ^ two errors found |