GHCi: missing .hs gives unhelpful msg
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
Trac metadata
Trac field |
Value |
Version |
5.0 |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
normal |
Resolution |
ResolvedDuplicate |
Component |
Compiler |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|