revertCAFs and -fexternal-interpreter

Simon Marlow marlowsd at
Thu Jun 7 20:38:16 UTC 2018

Yes, very probably this is a bug.  Please file a ticket and assign to me
(or better still send a diff!).


On 6 June 2018 at 08:58, Rahul Muttineni <rahulmutt at> wrote:

> Hello devs,
> I noticed that in ghc/GHCi/UI.hs, the calls to 'revertCAFs' are made in
> the compiler's RTS instead of the interpreter's RTS. When
> -fexternal-interpreter is on this distinction is visible, otherwise they
> are one and the same so it works as intended.
> Shouldn't there be a RevertCAFs data constructor in
> `libraries/ghci/GHCi/Message.hs` to tell the interpreter process to
> revert the CAFs in its heap?
> Thanks,
> Rahul Muttineni
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list