diff options
author | Ben Gamari <ben@smart-cactus.org> | 2015-12-16 23:32:38 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-12-16 23:32:38 +0100 |
commit | fa03f80d76f1511a811a0209ea7a6a8b6c58704f (patch) | |
tree | cc29895f7d69f051cfec172bb0f8c2ef03552789 | |
parent | 6f46d59d7def2afc0b0aa59ad96aa5f06482c799 (diff) |
Fix Hyperlinker
GHC.con_names is now GHC.getConNames
-rw-r--r-- | haddock-api/src/Haddock/Backends/Hyperlinker/Ast.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/Backends/Hyperlinker/Ast.hs b/haddock-api/src/Haddock/Backends/Hyperlinker/Ast.hs index 1f396df5..e8baae88 100644 --- a/haddock-api/src/Haddock/Backends/Hyperlinker/Ast.hs +++ b/haddock-api/src/Haddock/Backends/Hyperlinker/Ast.hs @@ -127,7 +127,7 @@ decls (group, _, _, _) = concatMap ($ group) _ -> empty con term = case cast term of (Just cdcl) -> - map decl (GHC.con_names cdcl) ++ everything (<|>) fld cdcl + map decl (GHC.getConNames cdcl) ++ everything (<|>) fld cdcl Nothing -> empty ins term = case cast term of (Just (GHC.DataFamInstD inst)) -> pure . tyref $ GHC.dfid_tycon inst |