diff options
author | Yuchen Pei <hi@ypei.me> | 2022-07-18 12:40:25 +1000 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-07-22 23:58:31 +1000 |
commit | d9ce45a947e39d83d17e479a8a36627150095a21 (patch) | |
tree | c6004a8be60741555e495847c94a353b3b75c7b5 /haddock-api/src/Haddock | |
parent | 6d5ab649fa3abfdf6f8a9096a4e626360132482f (diff) |
a hole in fieldocc
Diffstat (limited to 'haddock-api/src/Haddock')
-rw-r--r-- | haddock-api/src/Haddock/Backends/Org.hs | 1 |
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] |