summaryrefslogtreecommitdiff
path: root/rts/hooks/StackOverflow.c
diff options
context:
space:
mode:
authorwatashi <zejun.wu@gmail.com>2015-05-06 07:47:04 -0500
committerAustin Seipp <austin@well-typed.com>2015-05-06 07:50:38 -0500
commit03c4893e355948fe865bc52c744359c42e4b06d7 (patch)
tree884808ed15df84381c118f1a5861f7022a656e74 /rts/hooks/StackOverflow.c
parent458a97b86ad154812d08e0fe3548b88ac8412b4f (diff)
downloadhaskell-03c4893e355948fe865bc52c744359c42e4b06d7.tar.gz
Retain ic_monad and ic_int_print from external packages after load
Retain ic_monad and ic_int_print in InteractiveContext after load when they are defined in external packages. This is supposed to be the desired behavior that the interactive-print and setGHCiMonad will survive after :cd, :add, :load, :reload and :set in GHCi. Test Plan: Install a interactive-print function and GHCi monad from extenal pacakge. Try :cd, :load and other commands, make sure that the interactive-print function and GHCi monad always keep the same. Reviewed By: simonmar Differential Revision: https://phabricator.haskell.org/D867
Diffstat (limited to 'rts/hooks/StackOverflow.c')
0 files changed, 0 insertions, 0 deletions