[commit: ghc] master: Improve pretty-printing of HsWrappers (d084624)
git at git.haskell.org
git at git.haskell.org
Fri Feb 12 17:35:38 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/d0846243747213218cba856d5c322016bd3e6d9e/ghc
>---------------------------------------------------------------
commit d0846243747213218cba856d5c322016bd3e6d9e
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Fri Feb 12 13:42:55 2016 +0000
Improve pretty-printing of HsWrappers
Reduces un-neede parens.
Also -fprint-typechecker-elaboration now makes type applications
and casts in expressions also appear. (Previously those were
confusingly controlled by -fprint-explicit-coercions.)
>---------------------------------------------------------------
d0846243747213218cba856d5c322016bd3e6d9e
compiler/hsSyn/HsExpr.hs | 40 +++++++++++++----------
compiler/hsSyn/HsPat.hs | 22 ++++++++-----
compiler/typecheck/TcEvidence.hs | 40 ++++++++++++-----------
compiler/typecheck/TcExpr.hs | 6 ++--
compiler/typecheck/TcSplice.hs | 2 +-
testsuite/tests/roles/should_compile/T8958.stderr | 10 +++---
6 files changed, 64 insertions(+), 56 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 d0846243747213218cba856d5c322016bd3e6d9e
More information about the ghc-commits
mailing list