Skip to content

Fix for template-haskell pretty-printer issues #21723 and #21942

Mario requested to merge blamario/ghc:wip/T21723 into master

This MR is a fix for issues #21723 (closed) and #21942 (closed). It boils down to adding the precedence tracking to template-haskell pretty-printer for types, in line with what the expression pretty-printer has already had.

  • are either individually buildable or squashed
  • have commit messages which describe what they do (referring to Notes and tickets using #NNNN syntax when appropriate)
  • have added source comments describing your change. For larger changes you likely should add a Note and cross-reference it from the relevant places.
  • add a testcase to the testsuite.
  • if your MR affects library interfaces (e.g. changes base) or affects whether GHC will accept user-written code, please add the ~"user facing" label.
  • updates the users guide if applicable
  • mentions new features in the release notes for the next release

If you have any questions don't hesitate to open your merge request and inquire in a comment. If your patch isn't quite done yet please do add prefix your MR title with WIP:.

Once your change is ready please remove the WIP: tag and wait for review. If no one has offerred review in a few days then please leave a comment mentioning @triagers.

Edited by Mario

Merge request reports