[ ghc-Bugs-771633 ] GHCi removes source files!!

SourceForge.net noreply at sourceforge.net
Tue Jul 15 10:34:46 EDT 2003


Bugs item #771633, was opened at 2003-07-15 16:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=771633&group_id=8032

Category: Compiler
Group: 6.0
Status: Open
Resolution: None
Priority: 9
Submitted By: Daan Leijen (dleijen)
Assigned to: Nobody/Anonymous (nobody)
Summary: GHCi removes source files!!

Initial Comment:
GHCi removes source files on windows under
certain circumstances! Of course, this is very
bad when it actually happens.

It happens when loading a source file in a
subdirectory, i.e.

> ghci -package wx  wx\HelloWorld.hs
[snip]
Loading package wx ... linking ... done.
Compiling Main             ( wx/HelloWorld.hs, interpreted )
Ok, modules loaded: Main.
*Main> :q
Leaving GHCi.

>ghci -package wx  wx\HelloWorld.hs
[snip]
Loading package wx ... linking ... done.
can't find file `wx\HelloWorld.hs'


It only happens when using the normal windows prompt.
It doesn't happen when using 'bash' (with cygwin).

Nice bug for an interpreter :-)
  -- Daan.

(daanleijen at xs4all.nl)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=771633&group_id=8032



More information about the Glasgow-haskell-bugs mailing list