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

GHC trac at galois.com
Wed Jan 13 08:07:35 EST 2010


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

  * status:  new => closed
  * failure:  => None/Unknown
  * resolution:  => wontfix


Comment:

 I agree with Duncan: If GHC accepted
 {{{
 {-# LANGUAGE -XFoo #-}
 }}}
 then people would start using it, and then the code would not be portable.

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


More information about the Glasgow-haskell-bugs mailing list