summaryrefslogtreecommitdiff
path: root/compiler/GHC/Tc
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2022-02-21 02:09:49 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-02-22 16:30:59 -0500
commitace66decb46541a33cddc9f91a4221e3dad8b537 (patch)
treed04853f7b054028356216fef39b0bef1c70a5c36 /compiler/GHC/Tc
parent0b36801f8eec9b9a7cc512135a13eaf89da370a2 (diff)
downloadhaskell-ace66decb46541a33cddc9f91a4221e3dad8b537.tar.gz
Remove -Wunticked-promoted-constructors from -Wall
Update manual; explain ticks as optional disambiguation rather than the preferred default. This is a part of #20531.
Diffstat (limited to 'compiler/GHC/Tc')
-rw-r--r--compiler/GHC/Tc/Errors/Types.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Tc/Errors/Types.hs b/compiler/GHC/Tc/Errors/Types.hs
index c244c4c2a4..1cea1c8d94 100644
--- a/compiler/GHC/Tc/Errors/Types.hs
+++ b/compiler/GHC/Tc/Errors/Types.hs
@@ -1536,7 +1536,7 @@ data TcRnMessage where
-> [GhcHint] -- ^ hints, e.g. enable DataKinds to refer to a promoted data constructor
-> TcRnMessage
- {-| TcRnUntickedPromotedConstructor is a warning (controlled with -Wunticked-promoted-constructors
+ {-| TcRnUntickedPromotedConstructor is a warning (controlled with -Wunticked-promoted-constructors)
that is triggered by an unticked occurrence of a promoted data constructor.
Example: