Opened 13 years ago

Closed 13 years ago

Last modified 46 years ago

#86 closed bug (Fixed)

rdrNameModule it

Reported by: nobody Owned by: nobody
Priority: normal Milestone:
Component: Compiler Version: 5.04.1
Keywords: Cc:
Operating System: Architecture:
Type of failure: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):


I´m new in this, and probably this is known... or maybe 
What I´ve done: (in Prelude)

let x = error "help!"
print x
id x
print it

I did not understand why x isn´t printed (id x works...), 
but the serious ghc.exe panic! message after trying 
to 'print it' told me to report this ^_^
I just went through the manual and tried some lines out 
of it...

system: Win XP
version: 5.04.1 GHCi

E-Mail: [email protected]

Attachments (1)

GHCErr.2.jpg (30.6 KB) - added by nobody 13 years ago.

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by nobody

comment:1 Changed 13 years ago by simonmar

  • Status changed from assigned to closed
Logged In: YES 

The bug has been fixed; 5.04.2 will have the fix.  

To make "print x" work, you need to give x a type signature.  

  let x = error "help!" :: Int

Note: See TracTickets for help on using tickets.