[GHC] #8049: Missing documentation for the default warnings -fwarn-alternative-layout-rule-transitional and -fwarn-pointless-pragmas

#8049: Missing documentation for the default warnings -fwarn-alternative-layout- rule-transitional and -fwarn-pointless-pragmas ------------------------------------+------------------------------------- Reporter: asr | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Keywords: | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ------------------------------------+------------------------------------- From `compiler/main/DynFlags.hs` the warnings `-fwarn-alternative-layout- rule-transitional` and `-fwarn-pointless-pragmas` are default warnings, but (i) there is no documentation for the warnings and (ii) they are not listed as default warnings in the beginning of http://www.haskell.org/ghc/docs/7.6.3/html/users_guide/options- sanity.html. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8049 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8049: Missing documentation for the default warnings -fwarn-alternative-layout- rule-transitional and -fwarn-pointless-pragmas -------------------------------------+------------------------------------ Reporter: asr | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Documentation | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by asr): * component: Compiler => Documentation -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8049#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8049: Missing documentation for the default warnings -fwarn-alternative-layout-
rule-transitional and -fwarn-pointless-pragmas
-------------------------------------+------------------------------------
Reporter: asr | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Documentation | Version: 7.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by ian@…):
commit d3e0c76b32a5782d1d62c01dfc7e6f1e79bab5ef
{{{
Author: Ian Lynagh

#8049: Missing documentation for the default warnings -fwarn-alternative-layout- rule-transitional and -fwarn-pointless-pragmas -------------------------------------+------------------------------------ Reporter: asr | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Documentation | Version: 7.6.3 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by igloo): * status: new => closed * resolution: => fixed Comment: Thanks for the report. I've documented `-fwarn-pointless-pragmas`. I think that `-fwarn-alternative-layout-rule-transitional` is deliberately undocumented. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8049#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC