"no location info" when module name is omitted
Frederik Eaton
frederik at a5.repetae.net
Tue Feb 27 13:55:03 EST 2007
Hello,
If I try to compile a program which depends on a file which omits the
"module X where" line, then I get an error message from ghc:
<no location info>: file name does not match module name `Main'
This is not very helpful, since it doesn't tell me which file the
error is in, or what the error is.
Thanks,
Frederik
--
http://ofb.net/~frederik/
More information about the Glasgow-haskell-bugs
mailing list