Fix the instantiation of data constructors in the GHCi debugger
authorSimon Peyton Jones <simonpj@microsoft.com>
Tue, 6 Nov 2012 15:55:39 +0000 (15:55 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Tue, 6 Nov 2012 15:55:39 +0000 (15:55 +0000)
commitacbe5265d053e6497626f12f49f38aa31ff730e5
tree2b5269bcd3aaa022925cde21be8114bf320ac5e6
parent6ca461678649a91a62c198424b207a6c67ed6d7b
Fix the instantiation of data constructors in the GHCi debugger

This bug caused Trac #7386, because in the (rather tricky) "type
inference" (aka run time type reconstruction) done by the GHCi
debugger, we were failing to instantiate a data type family
correctly.  When that code was written we didn't *have* data
families.

I wrote Note [Constructor arg types] to explain the new scheme.
compiler/ghci/RtClosureInspect.hs