Bad error message for missing module in --make
|Reported by:||simonpj||Owned by:||simonmar|
|Type of failure:||Test Case:|
|Related Tickets:||Differential Rev(s):|
GHC --make uses getImports to find the imports of a module. It has two bad flaws a) it's a total hack, parsing the file character by character, which is really slow. We though it stopped after the import statements but it doesn't; it chunters through the entire file b) It does not record line numbers, so if the imported module does not exist, there is no decent error message We have a plan; this bug report makes sure we don't forget.
Change History (3)
Note: See TracTickets for help on using tickets.