[GHC] #9173: Better type error messages

GHC ghc-devs at haskell.org
Thu Jun 5 13:46:00 UTC 2014


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

Comment (by thoughtpolice):

 I like this, and think the second set of output reads much, much better.
 Bonus points: use ANSI terminal colors to highlight some key words in the
 output, such as "Warning" or "Error" should they exist.

 Lennart also makes an observation about the way the Mu Haskell compiler
 handles this:
 https://pay.reddit.com/r/haskell/comments/26tcrk/curious_with_a_bit_of_beginner_ranting_about_some/chuwwns

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


More information about the ghc-tickets mailing list