Checking UsageFile: don't fail if the file doesn't exist, just recompile
authorSimon Marlow <marlowsd@gmail.com>
Wed, 23 Nov 2011 15:25:35 +0000 (15:25 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 23 Nov 2011 16:19:23 +0000 (16:19 +0000)
commit131a0af32eeaa22f598239c4467b65860af185d1
tree92a1b8115e4578aa01d81db48b51eeb3e90d7a9c
parent128078e0dcfea03c3306f57a4ae7303ca8ff055b
Checking UsageFile: don't fail if the file doesn't exist, just recompile

If a file we depended on last time is missing, we should recompile.

This also makes us insensitive to mistakes when recording dependent
source files (such as storing a temporary file), but will make more
recompilation happen instead.  With DEBUG on, you get a warning.
compiler/iface/MkIface.lhs