[GHC] #15839: DerivingStrategies defaulting warning has no associated enable/suppress flag

GHC ghc-devs at haskell.org
Wed Oct 31 22:31:31 UTC 2018


#15839: DerivingStrategies defaulting warning has no associated enable/suppress
flag
-------------------------------------+-------------------------------------
        Reporter:  tejon             |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.6.1
      Resolution:                    |             Keywords:  deriving,
                                     |  newcomer
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Poor/confusing    |  Unknown/Multiple
  error message                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by tejon):

 Ah, good catch -- I guess I never tried without `DerivingStrategies`. I'll
 update the bug description, and include your minimum example.

 For flag name I nominate `-Wderiving-defaults`, after the pattern of
 `-Wtype-defaults`.

 It sounds like this would be an easy way to get my toes wet in the GHC
 codebase. If there's no argument with my flag suggestion, I'll try to
 implement it myself.

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


More information about the ghc-tickets mailing list