diff options
author | Edward Z. Yang <ezyang@cs.stanford.edu> | 2014-11-10 16:25:58 -0800 |
---|---|---|
committer | Edward Z. Yang <ezyang@cs.stanford.edu> | 2014-11-18 17:33:18 -0800 |
commit | 1019e3c6f90e32785c6a75726282b7362e921047 (patch) | |
tree | 6394e140fb7e94b06d89355a76efe51a9124b913 /testsuite/tests/typecheck/should_fail/tcfail181.stderr | |
parent | 483eeba47c8f761e5a0913c37823b640a624c6fb (diff) | |
download | haskell-1019e3c6f90e32785c6a75726282b7362e921047.tar.gz |
When outputting list of available instances, sort it.
Summary:
The intent of this commit is to make test suite cases more stable, so that
it doesn't matter what order we load interface files in, the test output
doesn't change.
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Test Plan: validate
Reviewers: simonpj, austin
Subscribers: thomie, carter
Differential Revision: https://phabricator.haskell.org/D484
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail181.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail181.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail181.stderr b/testsuite/tests/typecheck/should_fail/tcfail181.stderr index 7ec625bac1..84ba8768f4 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail181.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail181.stderr @@ -7,9 +7,9 @@ tcfail181.hs:17:9: at tcfail181.hs:17:1-30 The type variable ‘m0’ is ambiguous Note: there are several potential instances: - instance Monad ((->) r) -- Defined in ‘GHC.Base’ - instance Monad IO -- Defined in ‘GHC.Base’ instance Monad Maybe -- Defined in ‘GHC.Base’ + instance Monad IO -- Defined in ‘GHC.Base’ + instance Monad ((->) r) -- Defined in ‘GHC.Base’ ...plus one other In the expression: foo In the expression: foo {bar = return True} |