diff options
author | Muhaimin Ahsan <leroux@fezrev.com> | 2014-11-21 11:31:44 -0600 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-11-21 11:31:45 -0600 |
commit | 3e4f49b04e6e97256b4d34221e209e1051bf06ae (patch) | |
tree | 1db1538ea4a5b6c3df77c55c035fd65db4b0c228 /testsuite/tests/ghci/scripts/T9293.stdout | |
parent | 803fc5db31f084b73713342cdceaed5a9c664267 (diff) | |
download | haskell-3e4f49b04e6e97256b4d34221e209e1051bf06ae.tar.gz |
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
Diffstat (limited to 'testsuite/tests/ghci/scripts/T9293.stdout')
-rw-r--r-- | testsuite/tests/ghci/scripts/T9293.stdout | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T9293.stdout b/testsuite/tests/ghci/scripts/T9293.stdout new file mode 100644 index 0000000000..67fc63058e --- /dev/null +++ b/testsuite/tests/ghci/scripts/T9293.stdout @@ -0,0 +1,54 @@ +options currently set: none. +base language is: Haskell2010 +with the following modifiers: + -XNoDatatypeContexts + -XNondecreasingIndentation +GHCi-specific dynamic flag settings: +other dynamic, non-language, flag settings: + -fno-ghci-history + -fimplicit-import-qualified +warning settings: +Should fail, GADTs is not enabled +options currently set: none. +base language is: Haskell2010 +with the following modifiers: + -XNoDatatypeContexts + -XGADTSyntax + -XGADTs + -XMonoLocalBinds + -XNondecreasingIndentation +GHCi-specific dynamic flag settings: +other dynamic, non-language, flag settings: + -fno-ghci-history + -fimplicit-import-qualified +warning settings: +Should work, GADTs is in force from :set +options currently set: none. +base language is: Haskell2010 +with the following modifiers: + -XNoDatatypeContexts + -XGADTSyntax + -XMonoLocalBinds + -XNondecreasingIndentation +GHCi-specific dynamic flag settings: +other dynamic, non-language, flag settings: + -fno-ghci-history + -fimplicit-import-qualified +warning settings: +Should fail, GADTs is now disabled +base language is: Haskell2010 +with the following modifiers: + -XNoDatatypeContexts + -XExtendedDefaultRules + -XGADTSyntax + -XGADTs + -XMonoLocalBinds + -XNoMonomorphismRestriction + -XNondecreasingIndentation +GHCi-specific dynamic flag settings: +other dynamic, non-language, flag settings: + -fno-ghci-history + -fimplicit-import-qualified +warning settings: +Should fail, GADTs is only enabled at the prompt +C :: T Int |