Ticket #1677 (closed bug: fixed)
Abysmal error message from `ghc -M`
Description
ghc-6.6.1 -M -cpp Foo.hs Bar.hs
/tmp/ghc9234_0/ghc9234_2.hscpp:1:0:
file name does not match module name `Main'
What a terrible message! The source code is this:
Foo.hs (note the mis-typed Module)
Module Foo where f x = x
Bar.hs
module Bar where import Foo
Change History
Note: See
TracTickets for help on using
tickets.
