[GHC] #2526: Warn about missing signatures only for exported functions

GHC ghc-devs at haskell.org
Fri Nov 21 04:43:52 UTC 2014


#2526: Warn about missing signatures only for exported functions
-------------------------------------+-------------------------------------
              Reporter:              |            Owner:  gridaphobe
  fergushenderson                    |           Status:  new
                  Type:  feature     |        Milestone:  7.10.1
  request                            |          Version:  6.8.3
              Priority:  lowest      |         Keywords:  newcomer
             Component:  Compiler    |     Architecture:  Unknown/Multiple
            Resolution:              |       Difficulty:  Unknown
      Operating System:              |       Blocked By:
  Unknown/Multiple                   |  Related Tickets:
       Type of failure:              |
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by Austin Seipp <austin@…>):

 In [changeset:"067f1e4f20efc824badbac54da2f9484090cb39b/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="067f1e4f20efc824badbac54da2f9484090cb39b"
 Add flag `-fwarn-missing-exported-sigs`

 Summary: add `-fwarn-missing-exported-sigs` to only warn about missing
 signatures if the name is exported

 Test Plan: validate, see testsuite/tests/warnings/should_compile/T2526.hs

 Reviewers: ezyang, austin, thomie

 Reviewed By: austin, thomie

 Subscribers: ezyang, thomie, carter

 Differential Revision: https://phabricator.haskell.org/D482

 GHC Trac Issues: #2526

 Conflicts:
         docs/users_guide/7.10.1-notes.xml
 }}}

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


More information about the ghc-tickets mailing list