Skip to content

showSDocUnsafe generate GHC panic

Try in ghci:

:set -package ghc
:m Outputable
let x = text "SomeDoc"
showSDocUnsafe x

The code abobe generate:

"ghc.exe: panic! (the 'impossible' happened)

(GHC version 7.10.3 for x86_64-unknown-mingw32):

v_unsafeGlobalDynFlags: not initialised

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

Trac metadata
Trac field Value
Version 7.10.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHC API
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