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)
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>
Sun, 22 Jul 2018 16:58:33 +0000 (18:58 +0200)
commit3aa09cc5af9cacba91915c095f9652ee5ed31ec7
treef2de7ccaf499a16691ff20f40169f6373bda730b
parentf629442be93f4608e6bb53bfe2264a406230c546
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
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