Fix the boot dfun impedence-matching binding
authorSimon Peyton Jones <simonpj@microsoft.com>
Wed, 22 Apr 2015 08:29:24 +0000 (09:29 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Wed, 22 Apr 2015 08:46:30 +0000 (09:46 +0100)
commit9b9fc4c732baab126b057b4031bebcbd67d6e348
tree9122fb0cebf4d21b9775f8c9a0334933c1c3481e
parent3b932cc0ad885cc6eb9cef49fc1fe96bb9ff241e
Fix the boot dfun impedence-matching binding

In TcRnDriver.checkHiBootIface' we were generating an
impedence-matching binding
   $fxToRecMaybe = $fToRecMaybe
but the type of the former was gotten from the *hi-boot*
file, so its type constructor was not fully fleshed out.
That should never happen.

Fix is easy, happily.  A dark corner.
compiler/typecheck/TcRnDriver.hs