diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-11-12 13:51:20 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-11-12 13:51:20 +0000 |
commit | 1c5fb336af84f4d1230984fa4cee6341635d4dfc (patch) | |
tree | 2815814f0c33ffba13a0892d32ad8572f0ebadb4 /compiler/cmm/CmmSpillReload.hs | |
parent | 51b5bc7d63cd9decadba83e1da874a9768f2ccaf (diff) | |
download | haskell-1c5fb336af84f4d1230984fa4cee6341635d4dfc.tar.gz |
Fix bug when the combined package DB has duplicate package IDs
Someone on IRC reported that they were encountering a strange missing
module error from GHC, and it turned out that they had mtl-1.1.0.2
installed in both the global and local DB, with the same
InstalledPackageId. The two packages should be interchangeable, but
we were forgetting to eliminate duplicates in part of the
package-processing phase in GHC.
Really I should switch this code over to use the new PackageIndex data
type in Cabal, which ought to make things simpler.
Diffstat (limited to 'compiler/cmm/CmmSpillReload.hs')
0 files changed, 0 insertions, 0 deletions