[ ghc-Bugs-1065291 ] Bad error message for missing module in --make
SourceForge.net
noreply at sourceforge.net
Tue Feb 15 07:49:52 EST 2005
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
More information about the Glasgow-haskell-bugs
mailing list