[GHC] #11451: Inconsistent warnings for unused binders
GHC
ghc-devs at haskell.org
Wed Jan 20 13:55:52 UTC 2016
#11451: Inconsistent warnings for unused binders
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
So the principle you are suggesting is that if it shows up in
documentation you do not want to have a warning for unused variables.
That's a fine principle; I just want to articulate it clearly. If so we
should ensure that
{{{
type instance F (Maybe a) = Int
}}}
does not give a warning.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11451#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list