[project @ 2005-05-17 12:00:04 by simonmar]
authorsimonmar <unknown>
Tue, 17 May 2005 12:00:04 +0000 (12:00 +0000)
committersimonmar <unknown>
Tue, 17 May 2005 12:00:04 +0000 (12:00 +0000)
commit8d6afe743a98a77c08f917438d012d95857c278d
tree8ec34a409f2dd42747ffe2773bc0431bbe7cd99d
parent32fce1ae9d69cb8801ba045aae2ec541d7c161b8
[project @ 2005-05-17 12:00:04 by simonmar]
Improve source locations on error messages from the downsweep.  We now
keep track of SrcSpans from import declarations, so we can report a
proper source location for unknown imports (this improves on the
previous hacky solution of keeping track of the filename that
contained the original import declaration).

ModSummary now contains (Located Module) for each import instead of Module.
ghc/compiler/main/DriverMkDepend.hs
ghc/compiler/main/DriverPipeline.hs
ghc/compiler/main/GHC.hs
ghc/compiler/main/GetImports.hs
ghc/compiler/main/HscTypes.lhs