[GHC] #1328: ghci accepts ":set -fno-glasgow-exts", but not ":unset -fglasgow-exts"

GHC trac at galois.com
Fri May 4 23:34:04 EDT 2007


#1328: ghci accepts ":set -fno-glasgow-exts", but not ":unset -fglasgow-exts"
------------------------------+---------------------------------------------
  Reporter:  cdsmith at twu.net  |          Owner:       
      Type:  bug              |         Status:  new  
  Priority:  low              |      Milestone:       
 Component:  GHCi             |        Version:  6.6  
  Severity:  minor            |       Keywords:       
Difficulty:  Unknown          |             Os:  Linux
  Testcase:                   |   Architecture:  x86  
------------------------------+---------------------------------------------
Using "gchi -fglasgow-exts", I want to turn off glasgow extensions.  First
 I try:

 Prelude> :unset -fglasgow-exts
 can't unset GHC command-line flags

 But then:

 Prelude> :set -fno-glasgow-exts
 Prelude> :t 5
 5 :: (Num t) => t

 So GHCi is capable of turning off glasgow extensions, but is apparently
 really picky about what command is used to do it.

 sorear suggested I file this as a bug.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1328>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
-------------- next part --------------
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


More information about the Glasgow-haskell-bugs mailing list