Fix pretty-printing of data declarations in splices
authorKrzysztof Gogolewski <krz.gogolewski@gmail.com>
Sun, 22 Jul 2018 16:58:33 +0000 (18:58 +0200)
committerBen Gamari <ben@smart-cactus.org>
Tue, 31 Jul 2018 19:53:19 +0000 (15:53 -0400)
commit4c044ed12d1d2e92580b587ae3a5ad001c1e6173
tree724b1737b9b6f9fa742339556cd7fd9873e2bd22
parent39ab54c969fa5ca58392f039aa8f790932b9257a
Fix pretty-printing of data declarations in splices

Test Plan: validate

Reviewers: RyanGlScott, bgamari

Reviewed By: RyanGlScott

Subscribers: rwbarton, thomie, carter

GHC Trac Issues: #15365

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

(cherry picked from commit 3aa09cc5af9cacba91915c095f9652ee5ed31ec7)
compiler/hsSyn/HsDecls.hs
testsuite/tests/th/T15365.hs [new file with mode: 0644]
testsuite/tests/th/T15365.stderr [new file with mode: 0644]
testsuite/tests/th/all.T