[GHC] #10752: Print which warning-flag controls/enabled an emitted warning

GHC ghc-devs at haskell.org
Sat Feb 27 17:47:13 UTC 2016


#10752: Print which warning-flag controls/enabled an emitted warning
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                Owner:  barrucadu
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect         |  Unknown/Multiple
  warning at compile-time            |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D1943
       Wiki Page:  Design/Warnings   |
-------------------------------------+-------------------------------------

Comment (by Herbert Valerio Riedel <hvr@…>):

 In [changeset:"b6c61e372a1a783b32f1bbd1ceb446e89478a138/ghc"
 b6c61e37/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="b6c61e372a1a783b32f1bbd1ceb446e89478a138"
 Print which flag controls emitted SafeHaskell warnings

 This is extends bb5afd3c274011c5ea302210b4c290ec1f83209c to cover
 SafeHaskell warnings.

 This implements yet another part of #10752
 }}}

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


More information about the ghc-tickets mailing list