aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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