Ticket #5934 (closed bug: fixed)
ghc: panic! (the 'impossible' happened)
| Reported by: | guest | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.6.1 |
| Component: | Compiler | Version: | 7.4.1 |
| Keywords: | Cc: | dimitris@… | |
| Operating System: | Linux | Architecture: | x86_64 (amd64) |
| Type of failure: | Compile-time crash | Difficulty: | Unknown |
| Test Case: | indexed-types/should_fail/T5934.hs | Blocked By: | |
| Blocking: | Related Tickets: |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.
