#2213: -Wall incorrectly warns "Defined but not used" for functions exported via
RULES
----------------------+-----------------------------------------------------
 Reporter:  dons      |          Owner:  dons       
     Type:  bug       |         Status:  assigned   
 Priority:  normal    |      Milestone:  6.10 branch
Component:  Compiler  |        Version:  6.8.2      
 Severity:  normal    |     Resolution:             
 Keywords:            |     Difficulty:  Unknown    
 Testcase:            |   Architecture:  Unknown    
       Os:  Unknown   |  
----------------------+-----------------------------------------------------
Changes (by igloo):

  * difficulty:  => Unknown
  * milestone:  => 6.10 branch

Comment:

 This is currently rather odd. You need one of `ScopedTypeVariables`,
 `PolymorphicComponents`, `ExistentialQuantification`, `Rank2Types` and
 `RankNTypes` enabled, as these all turn on lexing of `forall`. Really,
 there ought to be a flag for rewrite rules instead (which also turns on
 lexing of `forall`).

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