#1630: error msg can be improved: <no location info>: file name does not match
module name `Main'
-----------------------+----------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.6
Severity: normal | Keywords:
Difficulty: Unknown | Os: Unknown
Testcase: | Architecture: Unknown
-----------------------+----------------------------------------------------
Hi,
When compiling some files with --make, some of them were empty, so ghc
complained:
<no location info>: file name does not match module name `Main'
But, since the offending file name is not provided, the problem was
difficult to correct (I thought the problem was somewhere in Main.hs or
maybe a compiler bug).
I tested this with 6.6 on Linux (that gives this error msg) and with
6.6.1 on Windows (that gives a good error msg, giving the file name).
Can't switch to 6.6.1 on Linux due to dependency problems of wxhaskell.
Antonio Regidor GarcĂa
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1630>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs