Ticket #118 (closed bug: Fixed)
Confusing Error Message if package-name is omitted
|Reported by:||wthaller||Owned by:||nobody|
|Type of failure:||Difficulty:|
|Test Case:||Blocked By:|
I compiled a library as a GHC package without adding the appropriate package-name flag to the ghc command line. When trying to compile a module that used the package, ghc complained that it couldn't find package "Main". This happens with the HEAD. With GHC 5.04 it (seemingly) was no problem to leave out the -package-name specifier. Why is the -package-name flag needed at all?
Note: See TracTickets for help on using tickets.