[GHC] #17: Separate warnings for unused local and top-level bindings
GHC
ghc-devs at haskell.org
Mon Feb 23 14:52:02 UTC 2015
#17: Separate warnings for unused local and top-level bindings
-------------------------------------+-------------------------------------
Reporter: magunter | Owner:
Type: feature request | Status: new
Priority: lowest | Milestone: 7.12.1
Component: Compiler | Version: None
Resolution: None | Keywords: -fwarn-
Operating System: Unknown/Multiple | unused-binds newcomer
Type of failure: None/Unknown | Architecture:
Blocked By: | Unknown/Multiple
Related Tickets: #3283 | Test Case:
| Blocking:
| Differential Revisions: Phab:D591
-------------------------------------+-------------------------------------
Comment (by Austin Seipp <austin@…>):
In [changeset:"aead01902e1c41e85b758dbafd15e60d08956374/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="aead01902e1c41e85b758dbafd15e60d08956374"
driver: split -fwarn-unused-binds into 3 flags (fixes #17)
Summary: New flags:
-fwarn-unused-top-binds
-fwarn-unused-local-binds
-fwarn-unused-pattern-binds
Test Plan: `tests/rename/should_compile/T17` tests
Correct other tests
Reviewers: austin, rwbarton
Reviewed By: austin, rwbarton
Subscribers: rwbarton, carter, thomie
Differential Revision: https://phabricator.haskell.org/D591
GHC Trac Issues: #17
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/17#comment:17>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list