Fix a bug in CorePrep that meant output invariants not satisfied
authorsimonpj@microsoft.com <unknown>
Mon, 31 May 2010 15:00:13 +0000 (15:00 +0000)
committersimonpj@microsoft.com <unknown>
Mon, 31 May 2010 15:00:13 +0000 (15:00 +0000)
commit919509ab0fa4b3e3d21e86c10aeb722ac1105a97
tree6db6d178500f689ab35c6c9d02c1521617cc4467
parenta90dc3907a491bfb478262441534b24fb0eb22f4
Fix a bug in CorePrep that meant output invariants not satisfied

In cpePair I did things in the wrong order so that something that
should have been a CprRhs wasn't.  Result: a crash in CoreToStg.
Fix is easy, and I added more informative type signatures too.
compiler/coreSyn/CorePrep.lhs