Parenthesize rank-n contexts in Convert
authorRyan Scott <ryan.gl.scott@gmail.com>
Thu, 5 Jul 2018 12:50:56 +0000 (08:50 -0400)
committerBen Gamari <ben@smart-cactus.org>
Thu, 12 Jul 2018 21:06:11 +0000 (17:06 -0400)
commita6a83d9a26db2593fa0e09dcad4c1411d6deb4ac
tree676f50a9eb68165665ad5b0cbed58770d36ea5d6
parentf663e507eaf49c6a5e05fd6edb78d649a7611af4
Parenthesize rank-n contexts in Convert

Summary: A simple oversight.

Test Plan: make test TEST=T15324

Reviewers: goldfire, bgamari

Reviewed By: bgamari

Subscribers: rwbarton, thomie, carter

GHC Trac Issues: #15324

Differential Revision: https://phabricator.haskell.org/D4910

(cherry picked from commit 57733978482dc1e566a7d4cd90d4cbbd1315e3b2)
compiler/hsSyn/Convert.hs
testsuite/tests/th/T15324.hs [new file with mode: 0644]
testsuite/tests/th/T15324.stderr [new file with mode: 0644]
testsuite/tests/th/all.T