revertCAFs and -fexternal-interpreter

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

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
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@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
participants (2)
-
Rahul Muttineni
-
Simon Marlow