#7526: Minor typo in error message
Reporter:  parcs             |          Owner:                  
    Type:  bug               |         Status:  new             
Priority:  normal            |      Component:  Compiler        
 Version:  7.6.1             |       Keywords:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
 Failure:  None/Unknown      |      Blockedby:                  
Blocking:                    |        Related:                  
 Compiling the following snippet

 {-# LANGUAGE MultiParamTypeClasses #-}
 class A a b

 class B a
 instance (A a b) => B ()

 gives the following error message

 [1 of 1] Compiling Main             ( nomore.hs, nomore.o )

     Variable s `a, b' occur more often than in the instance head
       in the constraint: A a b
     (Use -XUndecidableInstances to permit this)
     In the instance declaration for `B ()'

 Note that "Variable" and "s" are erroneously separated by a space.

Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7526>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

Glasgow-haskell-bugs mailing list

Reply via email to