diff options
Diffstat (limited to 'test/files/neg/bug960.check')
-rw-r--r-- | test/files/neg/bug960.check | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/neg/bug960.check b/test/files/neg/bug960.check index c947223aa3..e61394f2d0 100644 --- a/test/files/neg/bug960.check +++ b/test/files/neg/bug960.check @@ -1,4 +1,7 @@ -bug960.scala:18: error: cannot resolve overloaded unapply +bug960.scala:18: error: ambiguous reference to overloaded definition, +both method unapply in object List of type [a](List[a])Option[Null] +and method unapply in object List of type [a](List[a])Option[(a, List[a])] +match argument types (List[a]) case List(x, xs) => 7 ^ bug960.scala:12: error: method unapply is defined twice |