[GHC] #1938: Panic when attempting to generate and pretty print
Core
GHC
trac at galois.com
Tue Nov 27 08:45:42 EST 2007
#1938: Panic when attempting to generate and pretty print Core
----------------------+-----------------------------------------------------
Reporter: darinm | Owner: simonmar
Type: bug | Status: new
Priority: normal | Milestone: 6.8.3
Component: Compiler | Version: 6.8.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: x86
Os: MacOS X |
----------------------+-----------------------------------------------------
Changes (by simonmar):
* owner: => simonmar
* difficulty: => Unknown
* milestone: => 6.8.3
Comment:
The code being run is this:
{{{
test = case reified of
Left err -> print err
Right res -> GHC.printDump $ GHC.ppr res
}}}
The GHC package needs some initialisation before you can use it. Normally
you would do this by calling `GHC.newSession`, but if you don't need a
full `Session` you can call `GHC.parseStaticFlags` to initialise the
static flags.
I'll make the error message a bit more informative.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1938#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list