
#10707: -fth-dec-file outputs invalid case clauses -------------------------------------+------------------------------------- Reporter: Fabian | Owner: bollmann Type: bug | Status: new Priority: normal | Milestone: Component: Template Haskell | Version: 7.10.1 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: #10701 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bollmann): Upon a first investigation, it seems that the pretty printer in `Language.Haskell.TH.Ppr` functions correctly (at least concerning the parentheses around the lambda abstraction). It hence seems as if the pretty printer that is actually called when dumping the splice via -dth-dec-file is not `Language.Haskell.TH.Ppr.pprint`? I will investigate this further... -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10707#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler