diff options
author | Jade Lovelace <software@lfcode.ca> | 2022-09-17 22:50:26 -0700 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-01-11 00:55:30 -0500 |
commit | 6e6adbe368f68968ff1733b56deb3386b8c97fde (patch) | |
tree | e4f21bce1d8aa3f729de3d8cf655b45b4c62743f /compiler/GHC | |
parent | 146a145835f5c2e82da4dd0bcb90702460505a01 (diff) | |
download | haskell-6e6adbe368f68968ff1733b56deb3386b8c97fde.tar.gz |
Fix tcPluginRewrite example
Diffstat (limited to 'compiler/GHC')
-rw-r--r-- | compiler/GHC/Tc/Types.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Tc/Types.hs b/compiler/GHC/Tc/Types.hs index e6d03af276..19c911d01b 100644 --- a/compiler/GHC/Tc/Types.hs +++ b/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 |