[GHC] #14229: Contraditions in users_guide/using-warnings.html
GHC
ghc-devs at haskell.org
Wed Apr 4 15:26:05 UTC 2018
#14229: Contraditions in users_guide/using-warnings.html
-------------------------------------+-------------------------------------
Reporter: MikolajKonarski | Owner: voanhduy1512
Type: bug | Status: new
Priority: low | Milestone:
Component: Documentation | Version: 8.2.1
Resolution: | Keywords: newcomers
Operating System: Unknown/Multiple | Architecture:
Type of failure: Documentation | Unknown/Multiple
bug | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D4528,
Wiki Page: | Phab:D4562
-------------------------------------+-------------------------------------
Comment (by voanhduy1512):
Replying to [comment:12 MikolajKonarski]:
> I'm not sure, because many of the new warnings are added with the
intention of adding them to -Wall sooner or later, so the positive list
would need to grow, too. Also, the list of warnings included in -Wall is
much longer than the list of warnings excluded. An option is to provide
both lists and remark that if a warning is on neither list, it must be a
new one and please file a Trac ticket. Then we are at least not stating a
falsehood.
I try to build a list status of options here
https://gist.github.com/voanhduy1512/7769e04b925069170212400b57f5d4a3.
Right now there is more options which excluded in `-Wall` than included.
Maybe it will be change in future but i think it's easier to add positive
list.
For example i add a option to `-Wall` but forgot to update the doc, it's
easy to update the doc to correct state just by looking at the code.
As for current state, i need to get all options, minus all default
options, minus all `-W`, `-Wall`, to get the real list that are not in
`-Wall`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14229#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list