diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2013-09-10 17:58:20 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2013-09-10 17:58:34 +0100 |
commit | 9ca4a73d74e0b945a55a607ec0c8dae16df2fa28 (patch) | |
tree | 96709456fa2c2e20d42d051e1cc0b82895fa8131 /testsuite/tests/typecheck/should_fail/tcfail043.stderr | |
parent | ad8fb8f38b86ac28ebf701a96e7ea4479ff0f127 (diff) | |
download | haskell-9ca4a73d74e0b945a55a607ec0c8dae16df2fa28.tar.gz |
Error message wibbles
Almost all are re-orderings of relevant-binding output
Relevant bindings include
+ m :: Map (a, b) elt (bound at T3169.hs:12:17)
+ b :: b (bound at T3169.hs:12:13)
lookup :: (a, b) -> Map (a, b) elt -> Maybe elt
(bound at T3169.hs:12:3)
- b :: b (bound at T3169.hs:12:13)
- m :: Map (a, b) elt (bound at T3169.hs:12:17)
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail043.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail043.stderr | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail043.stderr b/testsuite/tests/typecheck/should_fail/tcfail043.stderr index 9be218f040..df750a4a3c 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail043.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail043.stderr @@ -3,9 +3,9 @@ tcfail043.hs:38:17: No instance for (Ord_ a0) arising from a use of ‛gt’ The type variable ‛a0’ is ambiguous Relevant bindings include - search :: a0 -> [a0] -> Bool (bound at tcfail043.hs:37:1) - a :: a0 (bound at tcfail043.hs:38:6) bs :: [a0] (bound at tcfail043.hs:38:8) + a :: a0 (bound at tcfail043.hs:38:6) + search :: a0 -> [a0] -> Bool (bound at tcfail043.hs:37:1) Note: there is a potential instance available: instance Ord_ Int -- Defined at tcfail043.hs:34:10 In the expression: gt (hd bs) a @@ -25,9 +25,9 @@ tcfail043.hs:40:25: No instance for (Eq_ a0) arising from a use of ‛eq’ The type variable ‛a0’ is ambiguous Relevant bindings include - search :: a0 -> [a0] -> Bool (bound at tcfail043.hs:37:1) - a :: a0 (bound at tcfail043.hs:38:6) bs :: [a0] (bound at tcfail043.hs:38:8) + a :: a0 (bound at tcfail043.hs:38:6) + search :: a0 -> [a0] -> Bool (bound at tcfail043.hs:37:1) Note: there are several potential instances: instance Eq_ a => Eq_ [a] -- Defined at tcfail043.hs:23:10 instance Eq_ Int -- Defined at tcfail043.hs:20:10 |