#5288: Less noisy version of -fwarn-name-shadowing
---------------------------------+------------------------------------------
    Reporter:  batterseapower    |        Owner:              
        Type:  feature request   |       Status:  new         
    Priority:  normal            |    Milestone:  7.4.1       
   Component:  Compiler          |      Version:  7.0.3       
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by batterseapower):

 Simon: yes. But now that I think about it, perhaps a more useful warning
 is one that warns about ANY recursive pattern/variable binding? This would
 help me find the class of bugs caused by accidental value-recursive
 bindings in those situations that I need do. Those people who believe
 silent letrec is a misfeature (there are some) could even turn it on for
 their whole project and use "fix" to explicitly mark those places where
 they really intend to use letrec.

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