[GHC] #2507: quotation characters in error messages

GHC ghc-devs at haskell.org
Tue Apr 4 06:22:09 UTC 2017


#2507: quotation characters in error messages
-------------------------------------+-------------------------------------
        Reporter:  Isaac Dupree      |                Owner:  (none)
            Type:  feature request   |               Status:  closed
        Priority:  lowest            |            Milestone:  7.8.1
       Component:  Compiler          |              Version:  6.8.3
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #2811,#3398       |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by pacak):

 Benefits: Looks pretty.

 Disadvantages: If LANG is not set any attempts of reading ghc output by a
 haskell program you get this instead:

 `hGetContents: invalid argument (invalid byte sequence)`

 I think I've wasted much more time debugging this problem (in my scenario
 things are still broken) than actually looking at those pretty quotes.

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


More information about the ghc-tickets mailing list