error messages in Nov 2003 release

Alastair Reid alastair at reid-consulting-uk.ltd.uk
Tue Jan 6 14:09:42 EST 2004


I'm not quite sure when it happened but error messages in the Nov 2003 release 
are much less informative than they used to be.  In particular, I was hoping 
to see a line number and filename in this message.

  Program error: pattern match failure

In contrast, ghci reports:

  *** Exception: gen_effect.hs:502: Non-exhaustive patterns in function
      writeResult

I'm guessing that what's happened is we're using non-deterministic exceptions 
in more of Hugs and the error object created in response to a pattern match 
failure doesn't record the line number, etc.

--
Alastair Reid      haskell-consulting.com



More information about the Hugs-Bugs mailing list