summaryrefslogtreecommitdiff
path: root/compiler/GHC/Parser
diff options
context:
space:
mode:
authorEdward <edward@correctsoftware.co>2021-07-03 15:16:01 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-07-06 13:38:42 -0400
commit1709111472f966f6e571227b035e749f953535a2 (patch)
treea7f615466d23175ed3d7b21a8ef83a9d9eaeba7b /compiler/GHC/Parser
parent354ac99de09ce2b08bf81a704a304c25957ad5c4 (diff)
downloadhaskell-1709111472f966f6e571227b035e749f953535a2.tar.gz
Fix issue 20038 - Change 'variable' -> 'variables'
Diffstat (limited to 'compiler/GHC/Parser')
-rw-r--r--compiler/GHC/Parser/Errors/Ppr.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Parser/Errors/Ppr.hs b/compiler/GHC/Parser/Errors/Ppr.hs
index 0c35b4290f..b349f310e2 100644
--- a/compiler/GHC/Parser/Errors/Ppr.hs
+++ b/compiler/GHC/Parser/Errors/Ppr.hs
@@ -486,7 +486,7 @@ instance Diagnostic PsMessage where
| pattern_RDR `looks_like` lhs
= "Perhaps you meant to use PatternSynonyms?"
| otherwise
- = "Should be of form <variable> :: <type>"
+ = "Should be of form <variables> :: <type>"
-- A common error is to forget the ForeignFunctionInterface flag
-- so check for that, and suggest. cf #3805