revertCAFs and -fexternal-interpreter

Simon Marlow marlowsd at gmail.com
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!).

Cheers
Simon

On 6 June 2018 at 08:58, Rahul Muttineni <rahulmutt at gmail.com> 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 haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20180607/c6a08994/attachment.html>


More information about the ghc-devs mailing list