CompManager confused by not compiled .hs files
Version: CVS HEAD from 09/02/2001
When I compile a module
import Ptr
main = print 42
with
ghc -c -package lang Main.hs
then ghc causes trouble iff I have a file with the name `Ptr.hs' in the current directory. Instead of using `Ptr'
from -package lang, ghc complains about a missing file `Ptr.hi'.
I can imagine why this is happening and it probably even makes sense for the interactive system; however, it is counter-intuitive for the batch system and diverges from the behaviour of 4.08.
This situation occurs easily in a setup, where I have a version Ptr.hs that my Makefiles arrange to compile in when using 4.08, but omit in favour of the module coming with -package lang when using 4.11.
Trac metadata
Trac field |
Value |
Version |
None |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
normal |
Resolution |
ResolvedFixed |
Component |
Compiler |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|