
#7169: Warning for incomplete record field label used as function -------------------------------------+------------------------------------ Reporter: goldfire | Owner: Type: feature request | Status: new Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Resolution: | Keywords: Warnings Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by adamgundry): * cc: adam.gundry@… (added) Comment: This sounds like a good idea. I'm deep in record field land at the moment, so I could take a look at it if you like. It should be fairly straightforward: `mkRecSelBind` can record the partiality of the selector in its `IdDetails`, just like for "naughty" selectors. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/7169#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler