Fix a recompilation checking bug when a package dependency changes
authorSimon Marlow <marlowsd@gmail.com>
Wed, 17 Feb 2010 13:32:50 +0000 (13:32 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 17 Feb 2010 13:32:50 +0000 (13:32 +0000)
commitf3e080507db6130c983fc86485661e0f14fba565
treeea357dc92734bf58c990bad9d26f09c0089468ca
parent2936ede28758713e2b32fad5749c622fdaaefd8e
Fix a recompilation checking bug when a package dependency changes

We weren't forcing enough recompilationg when package dependencies
changed, with the result that bumping a package version could lead to
linking failures or other problems later.

The problem/solutation are described on the wiki:

http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance#Packageversionchanges
compiler/iface/MkIface.lhs