Use braces in TH case pprint (fixes #20893)
This patch ensures that the pretty printer formats `case` statements using braces (instead of layout) to remain consistent with the formatting of other statements (like `do`)
Showing
- libraries/template-haskell/Language/Haskell/TH/Ppr.hs 1 addition, 1 deletionlibraries/template-haskell/Language/Haskell/TH/Ppr.hs
- testsuite/tests/quotes/T20893.hs 29 additions, 0 deletionstestsuite/tests/quotes/T20893.hs
- testsuite/tests/quotes/T20893.stdout 14 additions, 0 deletionstestsuite/tests/quotes/T20893.stdout
- testsuite/tests/quotes/all.T 1 addition, 0 deletionstestsuite/tests/quotes/all.T
Loading
Please register or sign in to comment