GHC 6.0: warning!
Peter Strand
d98peter at dtek.chalmers.se
Thu Jul 10 07:49:56 EDT 2003
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..
/Peter
More information about the Glasgow-haskell-bugs
mailing list