summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail133.stderr
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2014-11-10 16:25:58 -0800
committerEdward Z. Yang <ezyang@cs.stanford.edu>2014-11-18 17:33:18 -0800
commit1019e3c6f90e32785c6a75726282b7362e921047 (patch)
tree6394e140fb7e94b06d89355a76efe51a9124b913 /testsuite/tests/typecheck/should_fail/tcfail133.stderr
parent483eeba47c8f761e5a0913c37823b640a624c6fb (diff)
downloadhaskell-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/tcfail133.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail133.stderr7
1 files changed, 3 insertions, 4 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail133.stderr b/testsuite/tests/typecheck/should_fail/tcfail133.stderr
index 0198f3c67c..dc9c96d2db 100644
--- a/testsuite/tests/typecheck/should_fail/tcfail133.stderr
+++ b/testsuite/tests/typecheck/should_fail/tcfail133.stderr
@@ -6,10 +6,9 @@ tcfail133.hs:68:7:
No instance for (Show r0) arising from a use of ‘show’
The type variable ‘r0’ is ambiguous
Note: there are several potential instances:
- instance Show Zero -- Defined at tcfail133.hs:8:29
- instance Show One -- Defined at tcfail133.hs:9:28
- instance (Show a, Show b, Number a, Digit b) => Show (a :@ b)
- -- Defined at tcfail133.hs:11:54
+ instance Show a => Show (Maybe a) -- Defined in ‘GHC.Show’
+ instance Show Ordering -- Defined in ‘GHC.Show’
+ instance Show Integer -- Defined in ‘GHC.Show’
...plus 25 others
In the expression: show
In the expression: show $ add (One :@ Zero) (One :@ One)