#4190: Poor error message for unrecognised flag in GHCi's :set
---------------------------------+------------------------------------------
    Reporter:  simonmar          |        Owner:                         
        Type:  bug               |       Status:  new                    
    Priority:  normal            |    Milestone:  6.14.1                 
   Component:  Compiler          |      Version:  6.12.3                 
    Keywords:                    |   Difficulty:  Easy (less than 1 hour)
          Os:  Unknown/Multiple  |     Testcase:                         
Architecture:  Unknown/Multiple  |      Failure:  Other                  
---------------------------------+------------------------------------------
 {{{
 Prelude> :set -wibble
 ghc: <no location info>: -wibble
 Usage: For basic information, try the `--help' option.
 Prelude>
 }}}

 There's no error message, just a non-existent location, and the `Usage`
 part is confusing and unhelpful.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4190>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to