[GHC] #2507: quotation characters in error messages

GHC ghc-devs at haskell.org
Wed Aug 28 17:21:39 UTC 2013


#2507: quotation characters in error messages
-------------------------------------+------------------------------------
        Reporter:  Isaac Dupree      |            Owner:
            Type:  feature request   |           Status:  new
        Priority:  lowest            |        Milestone:  7.6.2
       Component:  Compiler          |          Version:  6.8.3
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:  #2811,#3398
-------------------------------------+------------------------------------

Comment (by goldfire):

 Here is the diff in the output:

 {{{
  T2507.hs:5:7:
 -    Couldn't match expected type `Int' with actual type `()'
 +    Couldn't match expected type ‛Int’ with actual type ‛()’
      In the expression: ()
 -    In an equation for `foo': foo = ()
 +    In an equation for ‛foo’: foo = ()
 }}}

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




More information about the ghc-tickets mailing list