GHC 6.0: warning!

Peter Strand d98peter@dtek.chalmers.se
Thu, 10 Jul 2003 13:49:56 +0200


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