
#12445: showSDocUnsafe generate GHC panic -------------------------------------+------------------------------------- Reporter: Bet | Owner: Type: bug | Status: new Priority: normal | Milestone: ⊥ Component: GHC API | Version: 7.10.3 Keywords: GHC panic | Operating System: Unknown/Multiple Architecture: | Type of failure: Runtime crash Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Try in ghci: {{{#!hs :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 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12445 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler