Compilation crash with "kindFunResult"
The following (invalid) program triggers this error :
$ ghc -Wall test.hs
[1 of 1] Compiling Xxx ( test.hs, test.o )
test.hs:11:12:ghc: panic! (the 'impossible' happened)
(GHC version 7.6.3 for x86_64-unknown-linux):
kindFunResult ghc-prim:GHC.Prim.*{(w) tc 34d}
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
module Xxx where
import qualified Test.Hspec as H
import qualified Test.Hspec.Core as HC
import Control.Monad.Reader
type PSpecM = ReaderT [Int] HC.SpecM
type PSpec = PSpecM ()
describe :: String -> PSpec -> PSpec
describe = lift . H.describe
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.6.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |