#3085: warn about language extensions that are not used
---------------------------------------------+------------------------------
    Reporter:  PVerswyvelen                  |        Owner:                  
        Type:  feature request               |       Status:  new             
    Priority:  normal                        |    Milestone:                  
   Component:  Compiler                      |      Version:  6.10.1          
    Severity:  normal                        |   Resolution:                  
    Keywords:  warnings extensions language  |   Difficulty:  Unknown         
    Testcase:                                |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple              |  
---------------------------------------------+------------------------------
Comment (by simonpj):

 For the most part, the fact that GHC ''consults'' a flag is enough to
 indicate that changing its state would affect compilation.  (That's not
 quite true -- in some places we read flags and pass on a couple of
 booleans that may or may not be needed -- but it is largely true.)

 So while it's not entirely trivial, I suspect we could get close to what
 you want, at least for the language extensions.   If someone wants to
 volunteer to do this, I can advise. Unless I'm missing something.

 Simon

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