Panic on deriving nullary typeclass
{-# LANGUAGE NullaryTypeClasses #-}
class C
Both data A deriving C
and deriving instance C
cause panic. Patch attached.
Trac metadata
Trac field | Value |
---|---|
Version | 7.7 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |