[ ghc-Bugs-456956 ] GHCi: missing .hs gives unhelpful msg

noreply@sourceforge.net noreply@sourceforge.net
Thu, 30 Aug 2001 12:29:24 -0700


Bugs item #456956, was opened at 2001-08-30 12:29
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=108032&aid=456956&group_id=8032

Category: Compiler
Group: 5.00
Status: Open
Resolution: None
Priority: 5
Submitted By: Mike Gunter (magunter)
Assigned to: Nobody/Anonymous (nobody)
Summary: GHCi: missing .hs gives unhelpful msg

Initial Comment:
Trying to load a module (via an import chain) for
which the .hs does not exist results in the
following message:

   *** Exception: does not exist
  Action: withFileStatus
  Reason: No such file or directory
  Prelude> 

It took me a while to figure out what was going on.
It would have helped tremendously to know what
file was missing.

It might be best to treat a missing .hs as an
infinitely old .hs (perhaps with an indication that
it is missing.)

(The missing .hs resulted from the writing the
make rules for creating a library including GreenCard
code in the straightforward way.)

     mike


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

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