summaryrefslogtreecommitdiff
path: root/compiler/GHC/Parser/Errors/Ppr.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Parser/Errors/Ppr.hs')
-rw-r--r--compiler/GHC/Parser/Errors/Ppr.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/GHC/Parser/Errors/Ppr.hs b/compiler/GHC/Parser/Errors/Ppr.hs
index 2cc8b4a113..2a238190c9 100644
--- a/compiler/GHC/Parser/Errors/Ppr.hs
+++ b/compiler/GHC/Parser/Errors/Ppr.hs
@@ -601,6 +601,7 @@ instance Diagnostic PsMessage where
PsErrParse token PsErrParseDetails{..} -> case token of
"" -> []
"$" | not ped_th_enabled -> [suggestExtension LangExt.TemplateHaskell] -- #7396
+ "$$" | not ped_th_enabled -> [suggestExtension LangExt.TemplateHaskell] -- #20157
"<-" | ped_mdo_in_last_100 -> [suggestExtension LangExt.RecursiveDo]
| otherwise -> [SuggestMissingDo]
"=" | ped_do_in_last_100 -> [SuggestLetInDo] -- #15849