#3098: undefined bug
---------------------------------+------------------------------------------
Reporter:  rheineke              |          Owner:          
    Type:  bug                   |         Status:  new     
Priority:  normal                |      Component:  Compiler
 Version:  6.10.1                |       Severity:  normal  
Keywords:  undefined impossible  |       Testcase:          
      Os:  MacOS X               |   Architecture:  x86     
---------------------------------+------------------------------------------
 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>
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

Reply via email to