Add the unfolding and inline-pragma for DFuns in DsBinds, not TcInstDcls
authorSimon Peyton Jones <simonpj@microsoft.com>
Wed, 29 Oct 2014 15:36:28 +0000 (15:36 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Tue, 4 Nov 2014 10:37:55 +0000 (10:37 +0000)
commitd153e4020e5e7c07bbe616381a97c760509ad3fa
tree5881ad729b5549e82f8a6e53676cd0aebeffa94c
parent725179875b1d7c9d42291ac338ab317ab6597c0d
Add the unfolding and inline-pragma for DFuns in DsBinds, not TcInstDcls

This is a straight refactoring that puts the generation of unfolding
info in one place, which is a lot tidier
compiler/deSugar/DsBinds.lhs
compiler/typecheck/TcInstDcls.lhs