aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Options.hs
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-01-16 20:25:44 +0100
committerSylvain Henry <sylvain@haskus.fr>2020-01-26 02:12:37 +0100
commit4808003d2238f76aee96d22cc022cee3e049f6a1 (patch)
tree082d7fae19eace97471a9f63df9249ad2599355c /haddock-api/src/Haddock/Options.hs
parent982308060ed4a49478b9188e9cab50d9a4f6c5b9 (diff)
Rename lookupPackage
Diffstat (limited to 'haddock-api/src/Haddock/Options.hs')
-rw-r--r--haddock-api/src/Haddock/Options.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/Options.hs b/haddock-api/src/Haddock/Options.hs
index e314bbd0..fe2bb048 100644
--- a/haddock-api/src/Haddock/Options.hs
+++ b/haddock-api/src/Haddock/Options.hs
@@ -382,4 +382,4 @@ modulePackageInfo dflags flags (Just modu) =
, optPackageVersion flags <|> fmap packageVersion pkgDb
)
where
- pkgDb = lookupPackage dflags (moduleUnitId modu)
+ pkgDb = lookupUnit dflags (moduleUnitId modu)