Fixes ghci :unset -X<ext> so that it doesn't fail to reverse option. (fixes trac...
authorMuhaimin Ahsan <leroux@fezrev.com>
Fri, 21 Nov 2014 17:31:44 +0000 (11:31 -0600)
committerAustin Seipp <austin@well-typed.com>
Fri, 21 Nov 2014 17:31:45 +0000 (11:31 -0600)
commit3e4f49b04e6e97256b4d34221e209e1051bf06ae
tree1db1538ea4a5b6c3df77c55c035fd65db4b0c228
parent803fc5db31f084b73713342cdceaed5a9c664267
Fixes ghci :unset -X<ext> so that it doesn't fail to reverse option. (fixes trac #9293)

Summary: ghci unset could not reverse language extensions.

Reviewers: hvr, thomie, austin

Reviewed By: hvr, thomie, austin

Subscribers: goldfire, hvr, thomie, carter

Differential Revision: https://phabricator.haskell.org/D516

GHC Trac Issues: #9293
ghc/InteractiveUI.hs
testsuite/tests/ghci/scripts/T9293.hs [new file with mode: 0644]
testsuite/tests/ghci/scripts/T9293.script [new file with mode: 0644]
testsuite/tests/ghci/scripts/T9293.stderr [new file with mode: 0644]
testsuite/tests/ghci/scripts/T9293.stdout [new file with mode: 0644]
testsuite/tests/ghci/scripts/all.T
testsuite/tests/safeHaskell/ghci/p12.stderr
testsuite/tests/safeHaskell/ghci/p5.stderr