[GHC] #8478: Compilation crash with "kindFunResult"

GHC ghc-devs at haskell.org
Sat Oct 26 08:24:25 UTC 2013


#8478: Compilation crash with "kindFunResult"
-----------------------------------+---------------------------------------
       Reporter:  bartavelle       |             Owner:
           Type:  bug              |            Status:  new
       Priority:  normal           |         Milestone:
      Component:  Compiler         |           Version:  7.6.3
       Keywords:                   |  Operating System:  Linux
   Architecture:                   |   Type of failure:  Compile-time crash
  Unknown/Multiple                 |         Test Case:
     Difficulty:  Unknown          |          Blocking:
     Blocked By:                   |
Related Tickets:                   |
-----------------------------------+---------------------------------------
 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
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8478>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list