Opened 3 years ago

Closed 3 years ago

#8478 closed bug (duplicate)

Compilation crash with "kindFunResult"

Reported by: bartavelle Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.6.3
Keywords: Cc:
Operating System: Linux Architecture: Unknown/Multiple
Type of failure: Compile-time crash Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


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:
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

Change History (1)

comment:1 Changed 3 years ago by monoidal

Resolution: duplicate
Status: newclosed

Thanks for the report; this is already fixed in HEAD (#8055,

Note: See TracTickets for help on using tickets.