
#13887: Template Haskell pretty-printer doesn't parenthesize infix datatype names in data declarations -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Template Haskell | Version: 8.0.1 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect result | Unknown/Multiple at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by ak3n): Yep, I tried to run the whole test suite and it finished with 417 unexpected failures. Thanks for pointing out `pprParendType`! I didn't find it yesterday. Also, should we change `pprParendType (VarT v) = ppr v` too? Because of `pprExp _ (VarE v) = pprName' Applied v`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13887#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler