
#14875: -ddump-splices pretty-printing oddities with case statements -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Debugging | Unknown/Multiple information is incorrect | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by RyanGlScott): Indeed. As currently designed, however, `TyPrec` doesn't fit neatly into this `PprPrec` paradigm, since the `Eq`/`Ord` instances for `TyPrec` treat `FunPrec` and `TyOpPrec` as having the same precedence (but they still need to be separate constructors, so sayeth [http://git.haskell.org/ghc.git/blob/cab3e6bfa8486c6c8eecac269c54d662f1371a0c... this note]). But in any case, I don't think I need to touch anything `Type`-related in this patch to begin with. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14875#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler