[Bug #131631] CompManager confused by not compiled .hs files
Thu, 08 Feb 2001 17:16:03 -0800
Bug #131631, was updated on 2001-Feb-08 17:16
Here is a current snapshot of the bug.
Project: The Glasgow Haskell Compiler
Bug Group: None
Submitted by: chak
Assigned to : nobody
Summary: CompManager confused by not compiled .hs files
Details: Version: CVS HEAD from 09/02/2001
When I compile a module
main = print 42
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.
For detailed info, follow this link: