summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci
diff options
context:
space:
mode:
authorTony Zorman <soliditsallgood@mailbox.org>2022-06-12 16:15:02 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-06-27 08:02:18 -0400
commit06cf6f4a3c9e520b054b7d83feb622ee15796a94 (patch)
treeecdc488fd82a6164b5adf3f7ea0f3992220d8c3c /testsuite/tests/ghci
parentac7a7fc88b51f9fb4e84499397e12eb0081ba79e (diff)
downloadhaskell-06cf6f4a3c9e520b054b7d83feb622ee15796a94.tar.gz
Add suggestions for unrecognised pragmas (#21589)
In case of a misspelled pragma, offer possible corrections as to what the user could have meant. Fixes: https://gitlab.haskell.org/ghc/ghc/-/issues/21589
Diffstat (limited to 'testsuite/tests/ghci')
-rw-r--r--testsuite/tests/ghci/should_run/T7253.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/ghci/should_run/T7253.stderr b/testsuite/tests/ghci/should_run/T7253.stderr
index 448f91865d..17a3393ac8 100644
--- a/testsuite/tests/ghci/should_run/T7253.stderr
+++ b/testsuite/tests/ghci/should_run/T7253.stderr
@@ -1,6 +1,6 @@
<interactive>:19:1: warning: [-Wunrecognised-pragmas (in -Wdefault)]
- Unrecognised pragma
+ Unrecognised pragma: FOO
<interactive>:61:1: error:
• Role mismatch on variable b: