logo       

[ ghc-Bugs-1065291 ] Bad error message for missing module in --make: msg#00044

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1065291 ] Bad error message for missing module in --make

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: Open
Resolution: None
>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-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>
Google Custom Search

News | FAQ | advertise