aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Interface
diff options
context:
space:
mode:
authorromes <rodrigo.m.mesquita@gmail.com>2022-05-27 11:21:50 +0200
committerromes <rodrigo.m.mesquita@gmail.com>2022-06-02 16:11:00 +0100
commit8976930748c4c9ba19cede2f0f29037d1cbce5e8 (patch)
tree1270a9b3d02774f898ba3d2b1c84d8be161c8ac6 /haddock-api/src/Haddock/Interface
parent89afef9daeb6da6624d42d32813d86c1f9b9f0c3 (diff)
Update for IE changes in !8228
Diffstat (limited to 'haddock-api/src/Haddock/Interface')
-rw-r--r--haddock-api/src/Haddock/Interface/Create.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/haddock-api/src/Haddock/Interface/Create.hs b/haddock-api/src/Haddock/Interface/Create.hs
index c5f81520..09eb2ad5 100644
--- a/haddock-api/src/Haddock/Interface/Create.hs
+++ b/haddock-api/src/Haddock/Interface/Create.hs
@@ -381,12 +381,12 @@ unrestrictedModuleImports idecls =
]
isInteresting idecl =
- case ideclHiding idecl of
+ case ideclImportList idecl of
-- i) no subset selected
Nothing -> True
-- ii) an import with a hiding clause
-- without any names
- Just (True, L _ []) -> True
+ Just (EverythingBut, L _ []) -> True
-- iii) any other case of qualification
_ -> False