simonmar    2003/03/17 06:47:48 PST

  Modified files:
    ghc/rts              Main.c Schedule.h Weak.c 
  Log:
  Haskell quiz:  what should this program do?
  
    main = return undefined
  
  answer: run to completion and exit successfully.  GHC erroneously
  evaluates the returned value from main, which causes this example to
  fail with an uncaught exception (the evaluation is even done outside
  of the main exception handler!).
  
  Revision  Changes    Path
  1.36      +4 -4      fptools/ghc/rts/Main.c
  1.38      +2 -2      fptools/ghc/rts/Schedule.h
  1.28      +2 -2      fptools/ghc/rts/Weak.c
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to