[GHC] #14875: -ddump-splices pretty-printing oddities with case statements
GHC
ghc-devs at haskell.org
Wed Apr 18 10:59:15 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):
Oh, right you are. I thought that there was code in GHC that was
//distinguishing// `FunPrec` from `TyOpPrec`, but after a quick audit,
that does not appear to be the case. (Which leaves me a bit baffled that
we didn't just define `funPrec = TyOpPrec` and avoided the need for such
bizarre `Eq`/`Ord` instances. Oh well.)
In that case, this should present a nice opportunity for some code
cleanup.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14875#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list