summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci
diff options
context:
space:
mode:
authorRoland Senn <rsx@bluewin.ch>2019-05-29 22:12:41 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-06-07 10:22:47 -0400
commitd1dc0ed75be0dafb0be3b4ff5e839612702eab47 (patch)
tree6dcd41b2d70b5715aa0c191c2242eaf409c1c5a7 /testsuite/tests/ghci
parent0b7372f68c0bc9cafc30e227b574abf1d5b16df5 (diff)
downloadhaskell-d1dc0ed75be0dafb0be3b4ff5e839612702eab47.tar.gz
Fix #16700: Tiny errors in output of GHCi commands :forward and :info
`:info Coercible` now outputs the correct section number of the GHCi User's guide together with the secion title. `:forward x` gives the correct syntax hint.
Diffstat (limited to 'testsuite/tests/ghci')
-rw-r--r--testsuite/tests/ghci/scripts/ghci059.stdout3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/ghci/scripts/ghci059.stdout b/testsuite/tests/ghci/scripts/ghci059.stdout
index 7e734f1ccc..2fc93e6de5 100644
--- a/testsuite/tests/ghci/scripts/ghci059.stdout
+++ b/testsuite/tests/ghci/scripts/ghci059.stdout
@@ -1,7 +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.
+Please see section `The Coercible constraint`
+of the user's guide for details.
-}
type role Coercible representational representational
class Coercible a b => Coercible (a :: k) (b :: k)