[GHC] #7169: Warning for incomplete record field label used as function
GHC
ghc-devs at haskell.org
Thu Oct 26 20:39:52 UTC 2017
#7169: Warning for incomplete record field label used as function
-------------------------------------+-------------------------------------
Reporter: goldfire | Owner: nakaji_dayo
Type: feature request | Status: closed
Priority: normal | Milestone: 8.4.1
Component: Compiler | Version: 7.7
Resolution: fixed | 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):
Yes, but I don't see an alternative here; we unfortunately only have so
many options. There is already precedent within GHC to treat underscore-
prefixed identifiers specially. I would much rather continue relying on
that same convention than introduce yet more special cases.
Ultimately the right solution here would likely be something like #602,
but seeing as that's not on the horizon, I think we'll just have to make
due with what we have.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7169#comment:30>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list