[GHC] #7668: Location in -fdefer-type-errors

GHC cvs-ghc at haskell.org
Wed Feb 6 19:40:49 CET 2013


#7668: Location in -fdefer-type-errors
-----------------------------+----------------------------------------------
Reporter:  monoidal          |          Owner:                  
    Type:  bug               |         Status:  new             
Priority:  normal            |      Component:  Compiler        
 Version:  7.6.2             |       Keywords:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
 Failure:  None/Unknown      |      Blockedby:                  
Blocking:                    |        Related:                  
-----------------------------+----------------------------------------------

Comment(by monoidal):

 Or even:

 {{{
 x :: Char
 x = 'x' - 1

 y :: Char
 y = 'y' + 1
 }}}

 both messages say {{{No instance for (Num Char) arising from a use of
 `+'}}}.

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



More information about the ghc-tickets mailing list