fix -ddump-splices to parenthesize ((\x -> x) a) correctly
authorYuri de Wit <admin@rodlogic.net>
Sat, 9 Jan 2016 17:58:30 +0000 (18:58 +0100)
committerBen Gamari <ben@smart-cactus.org>
Sat, 9 Jan 2016 18:27:47 +0000 (19:27 +0100)
commit5cb236dd6b497da0b9072b20ca74c298477f7a61
treeb1f30df4702094cfdfc1ada970378ec775099bd4
parent4405f9de855bdd37117e8bdef2da550ac398d81e
fix -ddump-splices to parenthesize ((\x -> x) a) correctly

Test Plan: ./validate

Reviewers: goldfire, austin, bgamari

Subscribers: goldfire, osa1, thomie

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

GHC Trac Issues: #10603
compiler/hsSyn/Convert.hs
testsuite/tests/th/T10603.stderr
testsuite/tests/th/all.T