summaryrefslogtreecommitdiff
path: root/compiler/GHC/Parser
diff options
context:
space:
mode:
authorAlan Zimmerman <alan.zimm@gmail.com>2021-05-16 21:22:39 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-05-21 15:06:20 -0400
commit5ab174e4fa12740aecdcfe06ffb4ca16724a4bae (patch)
treef4ea8a871d380e12833bef4e98d59b9da0f02f8b /compiler/GHC/Parser
parent0da85d41ee6bc7f941cdbee8cebd5b57fa35396f (diff)
downloadhaskell-5ab174e4fa12740aecdcfe06ffb4ca16724a4bae.tar.gz
Remove Maybe from Context in HsQualTy
Updates haddock submodule Closes #19845
Diffstat (limited to 'compiler/GHC/Parser')
-rw-r--r--compiler/GHC/Parser/PostProcess/Haddock.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/GHC/Parser/PostProcess/Haddock.hs b/compiler/GHC/Parser/PostProcess/Haddock.hs
index 393e2ed349..189ddce29c 100644
--- a/compiler/GHC/Parser/PostProcess/Haddock.hs
+++ b/compiler/GHC/Parser/PostProcess/Haddock.hs
@@ -979,10 +979,10 @@ instance HasHaddock (LocatedA (HsType GhcPs)) where
pure $ L l (HsForAllTy x tele body')
-- (Eq a, Num a) => t
- HsQualTy x mlhs rhs -> do
- traverse_ registerHdkA mlhs
+ HsQualTy x lhs rhs -> do
+ registerHdkA lhs
rhs' <- addHaddock rhs
- pure $ L l (HsQualTy x mlhs rhs')
+ pure $ L l (HsQualTy x lhs rhs')
-- arg -> res
HsFunTy u mult lhs rhs -> do