[commit: ghc] master: Make ':info Coercible' display an arbitrary string (fixes #12390) (905dc8b)
git at git.haskell.org
git at git.haskell.org
Tue Jul 11 17:42:26 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/905dc8bc74bebf5370eb9237cc8756cd9fe871ae/ghc
>---------------------------------------------------------------
commit 905dc8bc74bebf5370eb9237cc8756cd9fe871ae
Author: Patrick Dougherty <patrick.doc at ameritech.net>
Date: Tue Jul 11 11:53:40 2017 -0400
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
>---------------------------------------------------------------
905dc8bc74bebf5370eb9237cc8756cd9fe871ae
compiler/main/HscMain.hs | 3 ++-
compiler/main/InteractiveEval.hs | 7 ++++---
compiler/prelude/PrelInfo.hs | 19 ++++++++++++++++++-
compiler/prelude/TysWiredIn.hs | 2 +-
compiler/typecheck/TcRnDriver.hs | 7 +++++--
ghc/GHCi/UI.hs | 14 ++++++++------
testsuite/tests/ghci/scripts/ghci059.stdout | 5 +++++
utils/haddock | 2 +-
8 files changed, 44 insertions(+), 15 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 905dc8bc74bebf5370eb9237cc8756cd9fe871ae
More information about the ghc-commits
mailing list