#7169: Warning for incomplete record field label used as function
---------------------------------+------------------------------------------
    Reporter:  goldfire          |       Owner:                  
        Type:  feature request   |      Status:  new             
    Priority:  normal            |   Milestone:                  
   Component:  Compiler          |     Version:  7.7             
    Keywords:  Warnings          |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by goldfire):

 Because I think it's easier to make {{{quux}}} partial by mistake during
 refactoring. The particular example that motivated this post was
 refactoring {{{TyClDecl}}} in GHC to make family declarations a separate
 type. Much later, I noticed that the refactor made {{{tcdLName}}} into a
 partial function and I had to perform the search mentioned above.

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