summaryrefslogtreecommitdiff
path: root/compiler/GHC/HsToCore
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2021-07-27 16:52:52 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-08-04 01:33:03 -0400
commit2c714f07f4ab6823de50aaa4947e86326799f44f (patch)
treeb2fcf0005c23adc062b1ddd9e814aa743450cec9 /compiler/GHC/HsToCore
parent4f6726779fa3cbbfe97de49b1d26d5a665c74840 (diff)
downloadhaskell-2c714f07f4ab6823de50aaa4947e86326799f44f.tar.gz
Disable -fdefer-type-errors for linear types (#20083)
Diffstat (limited to 'compiler/GHC/HsToCore')
-rw-r--r--compiler/GHC/HsToCore/Errors/Ppr.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/HsToCore/Errors/Ppr.hs b/compiler/GHC/HsToCore/Errors/Ppr.hs
index c5f3aca1ec..eba5c12e74 100644
--- a/compiler/GHC/HsToCore/Errors/Ppr.hs
+++ b/compiler/GHC/HsToCore/Errors/Ppr.hs
@@ -88,7 +88,7 @@ instance Diagnostic DsMessage where
-> mkSimpleDecorated $
text "Ignoring useless SPECIALISE pragma for NOINLINE function:" <+> quotes (ppr poly_id)
DsMultiplicityCoercionsNotSupported
- -> mkSimpleDecorated $ text "Multiplicity coercions are currently not supported (see GHC #19517)"
+ -> mkSimpleDecorated $ text "GHC bug #19517: GHC currently does not support programs using GADTs or type families to witness equality of multiplicities"
DsOrphanRule rule
-> mkSimpleDecorated $ text "Orphan rule:" <+> ppr rule
DsRuleLhsTooComplicated orig_lhs lhs2