summaryrefslogtreecommitdiff
path: root/distrib/mkDocs
diff options
context:
space:
mode:
authorAlan Zimmerman <alan.zimm@gmail.com>2022-06-22 21:09:22 +0100
committersheaf <sam.derbyshire@gmail.com>2022-07-06 11:32:37 +0200
commita7f407296514af572cbea1ac6da31662c37d29c6 (patch)
treec989fb49efb8a47287a1b7828f53a8cfae2e7926 /distrib/mkDocs
parent354ae313b6f142c74f1398a5086ecdf2bf5f739c (diff)
downloadhaskell-wip/romes/ttg-prune.tar.gz
Fix exact printing of the HsRule namewip/romes/ttg-prune
Prior to this branch, the HsRule name was XRec pass (SourceText,RuleName) and there is an ExactPrint instance for (SourceText, RuleName). The SourceText has moved to a different location, so synthesise the original to trigger the correct instance when printing. We need both the SourceText and RuleName when exact printing, as it is possible to have a NoSourceText variant, in which case we fall back to the FastString.
Diffstat (limited to 'distrib/mkDocs')
0 files changed, 0 insertions, 0 deletions