'Strict' extension is incompatible with 'deriving' mechanism
This:
{-# LANGUAGE Strict #-}
module Foo where
data Foo = Foo deriving Eq
panics with
ghc.EXE: panic! (the 'impossible' happened)
(GHC version 8.1.20160317 for x86_64-unknown-mingw32):
makeCorePair: dfun $dEq_a1zL
Trac metadata
Trac field | Value |
---|---|
Version | 8.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |