logo       

[ ghc-Bugs-1065291 ] ghc --make import searching broken: msg#00025

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1065291 ] ghc --make import searching broken

Bugs item #1065291, was opened at 2004-11-12 16:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: 5
Submitted By: Simon Peyton Jones (simonpj)
Assigned to: Nobody/Anonymous (nobody)
Summary: ghc --make import searching broken

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.

----------------------------------------------------------------------

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