Fix a recomp bug: make classes/datatypes depend directly on DFuns (#4469)
authorSimon Marlow <marlowsd@gmail.com>
Thu, 2 Dec 2010 12:23:49 +0000 (12:23 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 2 Dec 2010 12:23:49 +0000 (12:23 +0000)
commit61f93d4611724685c5808bcfd41e3d3e0f3aa94f
treee2eb159b1dc085bda00ca498dfcae2097e212d1f
parentf3b7f240b44f757aea1b8ab830e2f49f78ea5315
Fix a recomp bug: make classes/datatypes depend directly on DFuns (#4469)
And remove the old mechanism of recording dfun uses separately,
because it didn't work.

This wiki page describes recompilation avoidance and fingerprinting.
I'll update it to describe the new method and what went wrong with the
old method:

http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance
compiler/deSugar/Desugar.lhs
compiler/iface/MkIface.lhs
compiler/typecheck/TcRnMonad.lhs
compiler/typecheck/TcRnTypes.lhs
compiler/typecheck/TcSMonad.lhs