on master help sign in
Two failed responses can be equal even though they don't come from

the same request.

commitbf9c84eccbba42d055a95b0de0ab40128c772e52 authorStevan Andjelkovic <stevan@advancedtelematic.com> dateFri 5 May 2017, 15:55 (9 years ago) parentb8de9c8
1 file changed+2−2
servant-client/src/Servant/Common/Req.hs+2−2
servant-client/src/Servant/Common/Req.hs+2−2
@@ -72,8 +72,8 @@ data ServantError
7272 deriving (Show, Typeable)
7373
7474instance Eq ServantError where
75− FailureResponse a b c d == FailureResponse w x y z =
76− (show a, b, c, d) == (show w, x, y, z)
75+ FailureResponse _ a b c == FailureResponse _ x y z =
76+ (a, b, c) == (x, y, z)
7777 DecodeFailure a b c == DecodeFailure x y z =
7878 (a, b, c) == (x, y, z)
7979 UnsupportedContentType a b == UnsupportedContentType x y =