#3098: loadObj: failed
-------------------------------------+--------------------------------------
Reporter: rheineke | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.10.1
Severity: normal | Resolution:
Keywords: undefined impossible | Difficulty: Unknown
Testcase: | Os: MacOS X
Architecture: x86 |
-------------------------------------+--------------------------------------
Old description:
> I coded the PrettyStub.hs file as shown in the Real World Haskell, page
> 119 and loaded it into ghci. I then proceeded to follow the examples on
> page 120:
>
> ghci>:load PrettyStub
> [2 of 2] Compiling Main ( PrettyStub.hs, interpreted )
> Ok, modules loaded: SimpleJSON, Main.
> ghci>:show modules
> SimpleJSON ( SimpleJSON.hs, SimpleJSON.o )
> Main ( PrettyStub.hs, interpreted )
> ghci>:type undefined
> undefined :: a
> ghci>undefined
> *** Exception: Prelude.undefined
> ghci>double 3.14
> ghc: panic! (the 'impossible' happened)
> (GHC version 6.10.1 for i386-apple-darwin):
> loadObj: failed
>
> Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
>
> And now I'm here.
New description:
I coded the `PrettyStub.hs` file as shown in the Real World Haskell, page
119 and loaded it into ghci. I then proceeded to follow the examples on
page 120:
{{{
ghci>:load PrettyStub
[2 of 2] Compiling Main ( PrettyStub.hs, interpreted )
Ok, modules loaded: SimpleJSON, Main.
ghci>:show modules
SimpleJSON ( SimpleJSON.hs, SimpleJSON.o )
Main ( PrettyStub.hs, interpreted )
ghci>:type undefined
undefined :: a
ghci>undefined
*** Exception: Prelude.undefined
ghci>double 3.14
ghc: panic! (the 'impossible' happened)
(GHC version 6.10.1 for i386-apple-darwin):
loadObj: failed
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
}}}
And now I'm here.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3098#comment:4>
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