[GHC] #7169: Warning for incomplete record field label used as function

GHC ghc-devs at haskell.org
Thu Oct 12 21:14:36 UTC 2017


#7169: Warning for incomplete record field label used as function
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:  nakaji_dayo
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.7
      Resolution:                    |             Keywords:  Warnings,
                                     |  newcomer
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect         |  Unknown/Multiple
  warning at compile-time            |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4083
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 > In case of implement this, it seems that design considering the whole is
 necessary.

 It's not clear; determining partiality is in general quite tricky whereas
 partial selectors is a class of partiality that we can easily identify.
 Consequently it may make sense to handle it separately. I also don't have
 a strong opinion on this, however.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7169#comment:26>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list