#3425: compileToCoreModule: ghc: panic! (the 'impossible' happened)
-------------------+--------------------------------------------------------
Reporter: iago | Owner:
Type: bug | Status: new
Priority: normal | Component: GHC API
Version: 6.10.4 | Severity: normal
Keywords: | Testcase:
Os: Linux | Architecture: x86_64 (amd64)
-------------------+--------------------------------------------------------
The following code on GHCi
{{{
runGhc (Just "/home/mads/iabal/opt/ghc-6.10.4/lib/ghc-6.10.4/.")
(compileToCoreModule "./foo.hs")
}}}
causes a GHC Panic
{{{
ghc: panic! (the 'impossible' happened)
(GHC version 6.10.4 for x86_64-unknown-linux):
no package state yet: call GHC.setSessionDynFlags
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
}}}
foo.hs is attached.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3425>
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