#2527: all ghc language extensions should have their own flags
--------------------------------+-------------------------------------------
    Reporter:  fergushenderson  |        Owner:          
        Type:  feature request  |       Status:  new     
    Priority:  normal           |    Milestone:          
   Component:  Compiler         |      Version:  6.8.3   
    Severity:  normal           |   Resolution:          
    Keywords:                   |     Testcase:          
Architecture:  Multiple         |           Os:  Multiple
--------------------------------+-------------------------------------------
Comment (by duncan):

 Isn't this exactly what the language extensions given with the -X flags
 do? I was under the impression that as of ghc-6.8 there are no ghc
 extensions that are enabled just by -fglasgow-exts and don't have a
 specific language extension and corresponding -X flag.

 Were you thinking of any extensions in particular? Unboxed tuples uses the
 `UnboxedTuples` language extension, ie the `-XUnboxedTuples` ghc flag or a
 pragma `{#- LANGUAGE UnboxedTuples -#}` at the top of the module source
 file.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2527#comment:1>
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