diff options
author | Ryan Scott <ryan.gl.scott@gmail.com> | 2019-01-14 21:45:17 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-01-28 12:23:16 -0500 |
commit | b1e569a54085bf1093b4f858f8c7c739e3be769b (patch) | |
tree | 499199793dc7aa1f6b3b6212b5ffca9c39df31d4 /testsuite/tests/safeHaskell | |
parent | 77974922eb4390899cb151de840308c5fe87949b (diff) | |
download | haskell-b1e569a54085bf1093b4f858f8c7c739e3be769b.tar.gz |
Use sigPrec in more places in Convert and HsUtils
Trac #16183 was caused by TH conversion (in `Convert`) not properly
inserting parentheses around occurrences of explicit signatures where
appropriate, such as in applications, function types, and type family
equations. Solution: use `parenthesizeHsType sigPrec` in these
places. While I was in town, I also updated `nlHsFunTy` to do the
same thing.
Diffstat (limited to 'testsuite/tests/safeHaskell')
0 files changed, 0 insertions, 0 deletions