
18 Jul
2003
18 Jul
'03
8:53 a.m.
On Mon, Jul 07, 2003 at 03:49:38PM +0100, Simon Peyton-Jones wrote:
Some of you have already discovered that GHC 6.0 has a nasty bug: if you go ghci foo\Baz.hs and there is any error at all in Baz.hs, then GHC deletes the source file! This seems like excessive punishment for a type error.
And it doesn't even require a type error as an excuse for punishment!
.. if the source file is specified as ./file.hs
Example:
$ echo "module T where" > T.hs && ghc --make ./T.hs -v ... Deleting: ./T.hs
This is on linux, don't know about windows..
Now fixed, thanks for the report. Cheers, Simon