[GHC] #9173: Better type error messages

GHC ghc-devs at haskell.org
Fri Jul 31 17:37:42 UTC 2015


#9173: Better type error messages
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.8.2
      Resolution:                    |                Keywords:  newcomer
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by thomie):

 * keywords:   => newcomer


Comment:

 This seems like a nice and easy ticket to handle by a newcomer.

 The function to change is `misMatchMsg` in
 `compiler/typecheck/TcErrors.hs`.

 Don't forget to update the expected test output. Use 'make accept', see
 [wiki:Building/RunningTests/Updating]. Please make sure you get all of
 them (grep for the old error message).

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


More information about the ghc-tickets mailing list