error messages in Nov 2003 release
Alastair Reid <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.hugs.bugs |
|---|---|
| Organization | Reid Consulting (UK) Ltd |
| Message-ID | <[email protected]> |
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