Skip to content

Mention DerivingStrategies in the warning when DAC and GND are both enabled

Chaitanya Koparkar requested to merge ckoparkar/ghc:T16179 into master

Summary:

When DeriveAnyClass and GeneralizedNewtypeDeriving are both enabled, GHC prints out a warning that specifies the strategy it used to derive a class. This patch updates the warning to mention that users may pick a particular strategy by using DerivingStrategies.

Test plan: make test TEST=T16179

Merge request reports