panic when recompiling after ctrl-C leaves .o without .hi
I was just doing some GHC hacking, and I typed Ctrl-C to interrupt a compilation just after it output some warnings. When I tried to repeat the compilation so it would finish...
Panic! stage1/cmm/CmmSpillReload.o exists, but stage1/cmm/CmmSpillReload.hi does not.
This statement was true, and I removed
stage1/cmm/CmmSpillReload.o so that I could recompile successfully. I think the correct GHC behavior is not to panic, just to recompile when it doesn't find all the correct generated files already there. (although it might indicate something that could be different upon reacting to ctrl-C too)