Fix Trac #4870: get the inlining for an imported INLINABLE Id
authorsimonpj@microsoft.com <unknown>
Wed, 5 Jan 2011 00:27:12 +0000 (00:27 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 5 Jan 2011 00:27:12 +0000 (00:27 +0000)
commit0aebf9c6b0de711b7eefa8c4cdd56d9328886697
tree35b42c1e29083918d2e82cacf61d0d41d35385cd
parente8a42ae2991013f586cb0606fcbd70d9b4c41d6f
Fix Trac #4870: get the inlining for an imported INLINABLE Id

We need the unfolding even for a *recursive* function (indeed
that's the point) and I was using the wrong function to get it
(idUnfolding rather than realIdUnfolding).
compiler/deSugar/DsBinds.lhs