#5934: ghc: panic! (the 'impossible' happened)
--------------------------------+-------------------------------------------
 Reporter:  guest               |          Owner:                
     Type:  bug                 |         Status:  new           
 Priority:  normal              |      Component:  Compiler      
  Version:  7.4.1               |       Keywords:                
       Os:  Linux               |   Architecture:  x86_64 (amd64)
  Failure:  Compile-time crash  |       Testcase:                
Blockedby:                      |       Blocking:                
  Related:                      |  
--------------------------------+-------------------------------------------
 GHC asked me nicely to report this compile-time panic / crash.

 Minimal code:
 {{{
 {-# LANGUAGE Rank2Types #-}

 module Foo where
 import System.Random.MWC (GenST)
 run :: (forall s . GenST s) -> Int
 run = 0
 }}}

 Output:

 {{{
 $ ghc Foo.hs
 [1 of 1] Compiling Foo              ( Foo.hs, Foo.o )
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.4.1 for x86_64-unknown-linux):
         tcTyVarDetails
     ( s{tv a10F} [tv] :: ghc-prim:GHC.Prim.*{(w) tc 34d} )

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to