Fix recompilation checking.
authorSimon Marlow <simonmar@microsoft.com>
Tue, 25 Apr 2006 14:09:32 +0000 (14:09 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Tue, 25 Apr 2006 14:09:32 +0000 (14:09 +0000)
commitaaa34891cb9cd87b803aef8dfc5386545b7a0784
treee2a31ae7d0610a399a78f82155c2cb63ed42cd41
parent3b3abf5905882f769cfab419450b5db1783416b3
Fix recompilation checking.
One-shot compilation was throwing away the old iface read by
checkOldIface, with the result that version numbers were never being
incremented.  Fixes the recomp001 test too.
compiler/main/HscMain.lhs