Opened 6 months ago

Closed 6 months 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 Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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

Change History (1)

comment:1 Changed 6 months ago by monoidal

  • Resolution set to duplicate
  • Status changed from new to closed

Thanks for the report; this is already fixed in HEAD (#8055, http://ghc.haskell.org/trac/ghc/search?q=kindFunResult).

Note: See TracTickets for help on using tickets.