[GHC] #9293: GHCI :unset -XLanguageExtension returns "don't know how to reverse -XLanguageExtension"

GHC ghc-devs at haskell.org
Thu Jul 10 23:41:09 UTC 2014


#9293: GHCI :unset -XLanguageExtension returns "don't know how to reverse
-XLanguageExtension"
-------------------------+-------------------------------------------------
       Reporter:         |             Owner:
  jfeltz                 |            Status:  new
           Type:  bug    |         Milestone:
       Priority:         |           Version:  7.8.2
  normal                 |  Operating System:  Unknown/Multiple
      Component:  GHCi   |   Type of failure:  None/Unknown
       Keywords:         |         Test Case:  :set -XCPP followed by
   Architecture:  x86    |  :unset -XCPP
     Difficulty:         |          Blocking:
  Unknown                |
     Blocked By:         |
Related Tickets:         |
-------------------------+-------------------------------------------------
 Any language extension tried appears to not work with :unset. To make
 matters worse, :unset expands to a number of options, misleading the user
 into thinking that it should (if that is the case). I eventually had to
 ask someone on IRC #haskell, leading to the :set -XNoLanguageExtension
 trick to do what I needed. A fix to :unset is suggested, or removing the
 misleading/non-working command.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9293>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list