diff options
author | Ryan Scott <ryan.gl.scott@gmail.com> | 2018-03-03 13:48:38 -0500 |
---|---|---|
committer | Ryan Scott <ryan.gl.scott@gmail.com> | 2018-03-03 13:48:38 -0500 |
commit | 99c556d2bb0594fd718622906168d2ea25a0bf06 (patch) | |
tree | 650a91fbb7a5f36d6610b1fbc143b98430a10e8a /utils/ghc-cabal | |
parent | a2d03c69b782212e6c476cfc1870bae493a4ac89 (diff) | |
download | haskell-99c556d2bb0594fd718622906168d2ea25a0bf06.tar.gz |
Parenthesize (() :: Constraint) in argument position
Summary:
A simple oversight in the pretty-printer lead to a special
case for `() :: Constraint` not being parenthesized correctly when
used in an argument position. Easily fixed with a `maybeParen`.
Test Plan: make test TEST=T14796
Reviewers: alanz, goldfire, bgamari, simonpj
Reviewed By: bgamari, simonpj
Subscribers: simonpj, rwbarton, thomie, carter
GHC Trac Issues: #14796
Differential Revision: https://phabricator.haskell.org/D4408
Diffstat (limited to 'utils/ghc-cabal')
0 files changed, 0 insertions, 0 deletions