[GHC] #3647: unify handling and error messages for -X vs. {-#LANGUAGE ...#-} pragmas/extensions

GHC cvs-ghc at haskell.org
Fri Dec 10 10:09:59 CET 2010


#3647: unify handling and error messages for -X vs. {-#LANGUAGE ...#-}
pragmas/extensions
--------------------------------+-------------------------------------------
  Reporter:  eflister           |          Owner:                                                  
      Type:  feature request    |         Status:  infoneeded                                      
  Priority:  normal             |      Milestone:  7.0.1                                           
 Component:  Compiler (Parser)  |        Version:  6.10.4                                          
Resolution:                     |       Keywords:  language pragma extensions error message warning
  Testcase:                     |      Blockedby:                                                  
Difficulty:                     |             Os:  Unknown/Multiple                                
  Blocking:                     |   Architecture:  Unknown/Multiple                                
   Failure:  None/Unknown       |  
--------------------------------+-------------------------------------------

Comment(by simonpj):

 I liked the "`-X`" in error messages because it's a ''brief''.
 2-character, way of saying that you can use a flag or a `LANGUAGE` pragma.
 But I'm happy to adopt whatever convention our users want!

 Simon

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



More information about the Glasgow-haskell-bugs mailing list