Add flag -fno-it
authorMatthew Pickering <matthewtpickering@gmail.com>
Mon, 15 Jan 2018 18:51:38 +0000 (13:51 -0500)
committerBen Gamari <ben@smart-cactus.org>
Mon, 15 Jan 2018 18:53:46 +0000 (13:53 -0500)
commit41afbb3f20f3d84abacb37afcc5aa64b24c22da8
treedafe640432f261442f596bf05e01b88e9ee51b80
parent2feed118413944cae8a4eed17365f40521f470db
Add flag -fno-it

This flag stops ghci creating the special variable `it`
after evaluating an expression. This stops ghci leaking
as much memory when evaluating expressions. See #14336

Reviewers: bgamari

Reviewed By: bgamari

Subscribers: rwbarton, thomie, carter

GHC Trac Issues: #14336

Differential Revision: https://phabricator.haskell.org/D4299
compiler/main/DynFlags.hs
compiler/typecheck/TcRnDriver.hs
docs/users_guide/ghci.rst