Skip to content

ghc: panic!

Tried to compile some code provided in the course I'm taking and caused ghc to panic. Got this in my command prompt:

` [1 of 1] Compiling Main ( temp.hs, temp.o ) ghc: panic! (the 'impossible' happened) (GHC version 8.0.2 for x86_64-unknown-mingw32): initTc: unsolved constraints WC {wc_insol = [W] throw_a2dw :: t_a2dv[tau:1] (CHoleCan: throw) [W] throw_a2eY :: t_a2eX[tau:1] (CHoleCan: throw) [W] throw_a2fc :: t_a2fb[tau:1] (CHoleCan: throw)}

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

Trac metadata
Trac field Value
Version 8.0.1
Type Bug
TypeOfFailure IncorrectAPIAnnotation
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information