diff options
author | Patrick Dougherty <patrick.doc@ameritech.net> | 2017-07-11 11:53:40 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-07-11 13:41:44 -0400 |
commit | 905dc8bc74bebf5370eb9237cc8756cd9fe871ae (patch) | |
tree | 2d758be7928ef4ca2a1450f73b5301aa94b46628 /testsuite | |
parent | 31ceaba3edac536d8a8d97d49bb797d4f5bedac6 (diff) | |
download | haskell-905dc8bc74bebf5370eb9237cc8756cd9fe871ae.tar.gz |
Make ':info Coercible' display an arbitrary string (fixes #12390)
This change enables the addition of an arbitrary string to the output of
GHCi's ':info'. It was made for Coercible in particular but could be
extended if desired.
Updates haddock submodule.
Test Plan: Modified test 'ghci059' to match new output.
Reviewers: austin, bgamari
Reviewed By: bgamari
Subscribers: goldfire, rwbarton, thomie
GHC Trac Issues: #12390
Differential Revision: https://phabricator.haskell.org/D3634
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tests/ghci/scripts/ghci059.stdout | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/ghci059.stdout b/testsuite/tests/ghci/scripts/ghci059.stdout index 9f4e65b344..9e9adb9ff1 100644 --- a/testsuite/tests/ghci/scripts/ghci059.stdout +++ b/testsuite/tests/ghci/scripts/ghci059.stdout @@ -1,3 +1,8 @@ +{- +Coercible is a special constraint with custom solving rules. +It is not a class. +Please see section 9.14.4 of the user's guide for details. +-} type role Coercible representational representational class Coercible a b => Coercible (a :: k0) (b :: k0) -- Defined in ‘GHC.Types’ |