|
[ ghc-Bugs-1065291 ] Bad error message for missing module in --make: msg#00044lang.haskell.glasgow.bugs
Bugs item #1065291, was opened at 2004-11-12 16:37 Message generated for change (Comment added) made by simonmar You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1065291&group_id=8032 Category: Compiler Group: 6.2.2 >Status: Closed >Resolution: Fixed Priority: 3 Submitted By: Simon Peyton Jones (simonpj) Assigned to: Simon Marlow (simonmar) Summary: Bad error message for missing module in --make Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: Simon Marlow (simonmar) Date: 2005-02-15 12:49 Message: Logged In: YES user_id=48280 Fixed. We still don't report the line number, but it's good enough. ---------------------------------------------------------------------- Comment By: Simon Marlow (simonmar) Date: 2005-01-17 15:12 Message: Logged In: YES user_id=48280 Partially fixed, (b) still to do. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1065291&group_id=8032
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-1122207 ] EVACUATED object entered!, SourceForge.net |
|---|---|
| Next by Date: | [ ghc-Bugs-972909 ] Posix.popen is broken, SourceForge.net |
| Previous by Thread: | Unboxed integers, Iavor Diatchki |
| Next by Thread: | [ ghc-Bugs-972909 ] Posix.popen is broken, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |