[GHC] #7169: Warning for incomplete record field label used as function
GHC
ghc-devs at haskell.org
Wed Oct 25 20:44:35 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 Ben Gamari <ben@…>):
In [changeset:"f7f270eb6ba616feda79d370336db7e66f9ab79c/ghc" f7f270e/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="f7f270eb6ba616feda79d370336db7e66f9ab79c"
Implement `-Wpartial-fields` warning (#7169)
Warning on declaring a partial record selector.
However, disable warn with field names that start with underscore.
Test Plan: Added 1 test case.
Reviewers: austin, bgamari, simonpj
Reviewed By: bgamari, simonpj
Subscribers: goldfire, simonpj, duog, rwbarton, thomie
GHC Trac Issues: #7169
Differential Revision: https://phabricator.haskell.org/D4083
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7169#comment:27>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list