From 8976930748c4c9ba19cede2f0f29037d1cbce5e8 Mon Sep 17 00:00:00 2001 From: romes Date: Fri, 27 May 2022 11:21:50 +0200 Subject: Update for IE changes in !8228 --- haddock-api/src/Haddock/Interface/Create.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'haddock-api/src') 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 -- cgit v1.2.3