[ ghc-Bugs-453587 ] Loading modules without .hs file fails

noreply@sourceforge.net noreply@sourceforge.net
Mon, 20 Aug 2001 18:50:17 -0700


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

Category: Runtime System
Group: 5.00
Status: Open
Resolution: None
Priority: 5
Submitted By: Shane Stephens (shane_308)
Assigned to: Nobody/Anonymous (nobody)
Summary: Loading modules without .hs file fails

Initial Comment:
If I attempt to load a module with only the .hi and .o
files for that module present, then the load fails with
the following message:

Loading package std ... linking ... done.
Prelude> :l Part1
*** Exception: does not exist
Action: withFileStatus
Reason: No such file or directory
Prelude> 

However, by placing a 'dummy' .hs file with only the
single line:

module Part1 where

I can get the module Part1 to load _with full
functionality_.

This error is present in ghci 5.00.2 on a i86pc running
SunOS 5.8



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

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