[GHC] #2542: runghc does not infer module file extensions
GHC
trac at galois.com
Tue Aug 26 07:37:03 EDT 2008
#2542: runghc does not infer module file extensions
----------------------+-----------------------------------------------------
Reporter: judah | Owner:
Type: bug | Status: new
Priority: high | Milestone: 6.10.1
Component: Compiler | Version: 6.8.3
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
----------------------+-----------------------------------------------------
Comment (by simonpj):
I thought that we allowed the module name not to match the file name
precisely (and only) when the module was called `Main`. That would
collapse your first and third bullets which is what you wanted.
Also I suggest that plain `M` (no suffix) on the command line should fail
altogether if you can't find `M.hs` or `M.lhs`, regardless of whether you
are linking or not. And plain `m` (lower case) should fail too, since `m`
can't be a module name. Stuff you want to link should have suffix `.o`
or `.a`, shouldn't it?
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2542#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list