Fix #15761 by adding parens
authorRichard Eisenberg <rae@cs.brynmawr.edu>
Wed, 17 Oct 2018 14:46:21 +0000 (10:46 -0400)
committerBen Gamari <ben@smart-cactus.org>
Wed, 17 Oct 2018 18:46:22 +0000 (14:46 -0400)
commitba5d0a4812a1437b11cacc53cc1a4024db6ad160
tree2b7557713de3d08e38a3b2e1d99e76598abd2ce9
parent334be779756a54028c5b83cd89c4665e946c65ea
Fix #15761 by adding parens

This was just a pretty-printer infelicity. Fixed now.

Test case: printer/T15761

(cherry picked from commit 38c28c1a8bb129141e533866700e7318314f32c1)
compiler/hsSyn/HsDecls.hs
testsuite/tests/printer/T15761.hs [new file with mode: 0644]
testsuite/tests/printer/T15761.stderr [new file with mode: 0644]
testsuite/tests/printer/all.T