[GHC] #4190: Poor error message for unrecognised flag in GHCi's :set

GHC cvs-ghc at haskell.org
Tue Nov 30 22:22:01 CET 2010


#4190: Poor error message for unrecognised flag in GHCi's :set
---------------------------------+------------------------------------------
    Reporter:  simonmar          |        Owner:                         
        Type:  bug               |       Status:  patch                  
    Priority:  normal            |    Milestone:  7.0.1                  
   Component:  Compiler          |      Version:  6.12.3                 
    Keywords:                    |     Testcase:                         
   Blockedby:                    |   Difficulty:  Easy (less than 1 hour)
          Os:  Unknown/Multiple  |     Blocking:                         
Architecture:  Unknown/Multiple  |      Failure:  Other                  
---------------------------------+------------------------------------------
Changes (by michalt):

 * cc: michal.terepeta@… (added)
  * status:  new => patch


Comment:

 This should produce:
 {{{
 Prelude> :set -wibble
 Some flags have not been recognized: -wibble
 }}}
 I'm not sure, but maybe we should also mention that the remaining flags
 (i.e.
 the recognized ones) have been actually applied?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4190#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list