[GHC] #14875: -ddump-splices pretty-printing oddities with case statements
GHC
ghc-devs at haskell.org
Tue Apr 17 15:31:16 UTC 2018
#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:/compiler/basicTypes/BasicTypes.hs#l746
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
More information about the ghc-tickets
mailing list