[commit: ghc] master: Display the full type environment when reporting type holes (a1efe57)
git at git.haskell.org
git at git.haskell.org
Thu Aug 29 17:45:55 CEST 2013
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/a1efe57ed2b5e90c0a562ead754f44821c5434c8/ghc
>---------------------------------------------------------------
commit a1efe57ed2b5e90c0a562ead754f44821c5434c8
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Wed Aug 28 15:12:17 2013 +0100
Display the full type environment when reporting type holes
This fixes Trac #8191.
The patch also adds and documents a new flag -fmax-relevant-bindings=N
which lets you control how many bindings in the type environment are shown.
>---------------------------------------------------------------
a1efe57ed2b5e90c0a562ead754f44821c5434c8
compiler/main/DynFlags.hs | 6 +
compiler/typecheck/TcErrors.lhs | 77 ++++--
docs/users_guide/flags.xml | 31 ++-
docs/users_guide/using.xml | 564 +++++++++++++++++++++------------------
4 files changed, 376 insertions(+), 302 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 a1efe57ed2b5e90c0a562ead754f44821c5434c8
More information about the ghc-commits
mailing list