[Git][ghc/ghc][master] 2 commits: Fix tcPluginRewrite example
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Wed Jan 11 05:55:51 UTC 2023
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
6e6adbe3 by Jade Lovelace at 2023-01-11T00:55:30-05:00
Fix tcPluginRewrite example
- - - - -
faa57138 by Jade Lovelace at 2023-01-11T00:55:31-05:00
fix missing haddock pipe
- - - - -
2 changed files:
- compiler/GHC/Tc/Types.hs
- compiler/GHC/Types/Hint.hs
Changes:
=====================================
compiler/GHC/Tc/Types.hs
=====================================
@@ -1678,7 +1678,7 @@ data TcPlugin = forall s. TcPlugin
-- and possibly emit additional constraints. These returned constraints
-- must be Givens in the first case, and Wanteds in the second.
--
- -- Use @ \\ _ _ _ _ _ -> pure $ TcPluginOK [] [] @ if your plugin
+ -- Use @ \\ _ _ _ _ -> pure $ TcPluginOk [] [] @ if your plugin
-- does not provide this functionality.
, tcPluginRewrite :: s -> UniqFM TyCon TcPluginRewriter
=====================================
compiler/GHC/Types/Hint.hs
=====================================
@@ -401,7 +401,7 @@ data GhcHint
Test cases: ccfail004
-}
| SuggestImportingDataCon
- {- Found a pragma in the body of a module, suggest
+ {-| Found a pragma in the body of a module, suggest
placing it in the header
-}
| SuggestPlacePragmaInHeader
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/146a145835f5c2e82da4dd0bcb90702460505a01...faa5713818cddd0b206b5c2b98be4e241959be87
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/146a145835f5c2e82da4dd0bcb90702460505a01...faa5713818cddd0b206b5c2b98be4e241959be87
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230111/5ff05c16/attachment.html>
More information about the ghc-commits
mailing list