diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2022-11-03 17:28:27 +0000 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2022-11-10 12:21:14 +0000 |
commit | 399e921b05493d79f04e77806c1562806f118d4a (patch) | |
tree | 991e76587dd84d89e3e1838795eb3c67efd4ef28 /compiler | |
parent | 2b3d0beec2668963c332b4490328aee256f07766 (diff) | |
download | haskell-399e921b05493d79f04e77806c1562806f118d4a.tar.gz |
Fix DsUselessSpecialiseForClassMethodSelector msgwip/T21851
The error message for DsUselessSpecialiseForClassMethodSelector
was just wrong (a typo in some earlier work); trivial fix
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/GHC/HsToCore/Errors/Ppr.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/HsToCore/Errors/Ppr.hs b/compiler/GHC/HsToCore/Errors/Ppr.hs index 4566460a0e..745f701d8f 100644 --- a/compiler/GHC/HsToCore/Errors/Ppr.hs +++ b/compiler/GHC/HsToCore/Errors/Ppr.hs @@ -86,7 +86,7 @@ instance Diagnostic DsMessage where hang (text "Top-level" <+> text desc <+> text "aren't allowed:") 2 (ppr bind) DsUselessSpecialiseForClassMethodSelector poly_id -> mkSimpleDecorated $ - text "Ignoring useless SPECIALISE pragma for NOINLINE function:" <+> quotes (ppr poly_id) + text "Ignoring useless SPECIALISE pragma for class selector:" <+> quotes (ppr poly_id) DsUselessSpecialiseForNoInlineFunction poly_id -> mkSimpleDecorated $ text "Ignoring useless SPECIALISE pragma for NOINLINE function:" <+> quotes (ppr poly_id) |