Minor typo in error message
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 )
nomore.hs:5:10:
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.
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |