[GHC] #8428: Incorrect type formatting in error messages

GHC ghc-devs
Wed Oct 9 17:49:23 UTC 2013


#8428: Incorrect type formatting in error messages
-------------------------------+-------------------------------------------
        Reporter:  klao        |            Owner:
            Type:  bug         |           Status:  patch
        Priority:  normal      |        Milestone:
       Component:  Compiler    |          Version:  7.6.3
      Resolution:              |         Keywords:
Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple             |       Difficulty:  Easy (less than 1 hour)
 Type of failure:              |       Blocked By:
  None/Unknown                 |  Related Tickets:
       Test Case:              |
        Blocking:              |
-------------------------------+-------------------------------------------
Changes (by klao):

 * status:  new => patch
 * difficulty:  Unknown => Easy (less than 1 hour)


Comment:

 The more I look at the code in `TypeRep.lhs`, the more it looks like a
 simple omission. I attach a trivial patch that fixes the issue (and
 doesn't seem to break anything else; at least not according to the test
 suite).

 Note that I also removed a spurious `\end{code}` label, which broke emacs'
 literate Haskell syntax highlighting on this file.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8428#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list