aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-07-18 12:40:25 +1000
committerYuchen Pei <hi@ypei.me>2022-07-18 18:09:23 +1000
commitc8b9b18d5f5ce9816d3e06aa5f90665fcdfa83cb (patch)
tree0ade1f265e8eb4759f3b7e6cba302cf118aa97ce /haddock-api/src
parentd64bbb227fcf357ba496928c70cd0b91244bcae8 (diff)
a hole in fieldocc
Diffstat (limited to 'haddock-api/src')
-rw-r--r--haddock-api/src/Haddock/Backends/Org.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/haddock-api/src/Haddock/Backends/Org.hs b/haddock-api/src/Haddock/Backends/Org.hs
index 7460be4a..02582247 100644
--- a/haddock-api/src/Haddock/Backends/Org.hs
+++ b/haddock-api/src/Haddock/Backends/Org.hs
@@ -704,6 +704,7 @@ ppConDeclField (ConDeclField _ names (L _ ty) _) subdocs path level =
fieldOccDocName :: FieldOcc DocNameI -> DocName
fieldOccDocName (FieldOcc docName _) = docName
+fieldOccDocName _ = error "FieldOccDocName"
-- TODO: handle linear types
ppHsScaled :: HsScaled DocNameI (LHsType DocNameI) -> [OrgInline]