[commit: ghc] ghc-8.2: Parenthesize pretty-printed equalities when necessary (66d5e80)
git at git.haskell.org
git at git.haskell.org
Tue May 16 01:11:56 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.2
Link : http://ghc.haskell.org/trac/ghc/changeset/66d5e8015bed91fd0e2091641fe855c433c24b6c/ghc
>---------------------------------------------------------------
commit 66d5e8015bed91fd0e2091641fe855c433c24b6c
Author: Ryan Scott <ryan.gl.scott at gmail.com>
Date: Thu May 11 15:42:55 2017 -0400
Parenthesize pretty-printed equalities when necessary
Fixes #13677 by parenthesizing equalities in a sufficiently high
pretty-printing context.
Test Plan: make test TEST=T13677
Reviewers: goldfire, austin, bgamari
Reviewed By: bgamari
Subscribers: rwbarton, thomie
GHC Trac Issues: #13677
Differential Revision: https://phabricator.haskell.org/D3570
(cherry picked from commit 2277172ac3ea0bbeddebc9999a5d8b5f9f58afc9)
>---------------------------------------------------------------
66d5e8015bed91fd0e2091641fe855c433c24b6c
compiler/iface/IfaceType.hs | 2 +-
mk/build.mk.sample | 4 +-
rts/Libdw.c | 83 ++++++++++++++++++----
testsuite/tests/typecheck/should_fail/T13677.hs | 11 +++
.../tests/typecheck/should_fail/T13677.stderr | 4 ++
testsuite/tests/typecheck/should_fail/all.T | 1 +
6 files changed, 89 insertions(+), 16 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 66d5e8015bed91fd0e2091641fe855c433c24b6c
More information about the ghc-commits
mailing list