Fixes ghci :unset -X<ext> so that it doesn't fail to reverse option. (fixes trac #9293)
ClosedPublic

Authored by leroux on Nov 21 2014, 2:09 AM.

Details

Summary

ghci unset could not reverse language extensions.

Diff Detail

Repository
rGHC Glasgow Haskell Compiler
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
leroux retitled this revision from to Fixes ghci :unset -X<ext> so that it doesn't fail to reverse option. (fixes trac #9293).Nov 21 2014, 2:09 AM
leroux updated this object.
leroux edited the test plan for this revision. (Show Details)
leroux added a reviewer: austin.
leroux updated the Trac tickets for this revision.
hvr accepted this revision.EditedNov 21 2014, 2:13 AM
hvr added a reviewer: hvr.
hvr added a subscriber: hvr.

LGTM! (let's hope Harbormaster agrees...)

This revision is now accepted and ready to land.Nov 21 2014, 2:13 AM
leroux updated this revision to Diff 1625.Nov 21 2014, 2:47 AM
  • Update SafeHaskell tests p5 and p12 stderr.

What if I :unset -XNoMonomorphismRestriction? Such a thing is a reasonable thing for a user to try...

thomie accepted this revision.Nov 21 2014, 7:51 AM
thomie added a reviewer: thomie.

@goldfire: The result should be similar to:

Prelude> :unset -fno-print-bind-contents
Some flags have not been recognized: -fno-no-print-bind-contents
austin accepted this revision.Nov 21 2014, 9:54 AM

LGTM.

This revision was automatically updated to reflect the committed changes.