Keep going after failed search for module in current directory
Inside a package's source directory after the package has been installed, if I type ghci
and then import MODNAME
, where MODNAME is a module in the package, GHCi throws an error: module main:MODNAME is not loaded
, even though MODNAME is part of the package (in its system-installed state). The desired behavior, I think, is to keep on going and realize that MODNAME is a module in an already-installed package, and then load that.
Trac metadata
Trac field | Value |
---|---|
Version | 6.8.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |