diff options
author | Zubin Duggal <zubin.duggal@gmail.com> | 2022-02-25 17:41:11 +0530 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-03-19 07:35:49 -0400 |
commit | e9d8de93ed8343be5a9530346f254b18dd6df3bc (patch) | |
tree | 25cdf7530bd77f5193b8e2231e01972c7cf3f76a /compiler/GHC/Unit/Module/ModGuts.hs | |
parent | 435a3d5df098099ec984847b84f0bc734f5d2c3f (diff) | |
download | haskell-e9d8de93ed8343be5a9530346f254b18dd6df3bc.tar.gz |
TH: Fix pretty printing of newtypes with operators and GADT syntax (#20868)
The pretty printer for regular data types already accounted for these,
and had some duplication with the newtype pretty printer.
Factoring the logic out into a common function and using it for both
newtypes and data declarations is enough to fix the bug.
Diffstat (limited to 'compiler/GHC/Unit/Module/ModGuts.hs')
0 files changed, 0 insertions, 0 deletions