aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Interface.hs
diff options
context:
space:
mode:
authorHécate Moonlight <Kleidukos@users.noreply.github.com>2021-03-28 14:08:35 +0200
committerGitHub <noreply@github.com>2021-03-28 14:08:35 +0200
commit7afbc6b0af2c350a96c56237f3c2d3f3de204195 (patch)
treee06ec766f683dbc3f646b469312e90c791465f2d /haddock-api/src/Haddock/Interface.hs
parent3699d74aac686c1e071ab050456698ff2ea8c7df (diff)
parent66609597a6c206d07ef110412c45831b3e0988c2 (diff)
Merge pull request #1368 from fendor/target-unit-id-revert
Add UnitId to Target record
Diffstat (limited to 'haddock-api/src/Haddock/Interface.hs')
-rw-r--r--haddock-api/src/Haddock/Interface.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/Interface.hs b/haddock-api/src/Haddock/Interface.hs
index 02e7ed38..2486c752 100644
--- a/haddock-api/src/Haddock/Interface.hs
+++ b/haddock-api/src/Haddock/Interface.hs
@@ -158,7 +158,7 @@ createIfaces verbosity modules flags instIfaceMap = do
-- alive to be able to find all the instances.
modifySession installHaddockPlugin
- targets <- mapM (\filePath -> guessTarget filePath Nothing) modules
+ targets <- mapM (\filePath -> guessTarget filePath Nothing Nothing) modules
setTargets targets
loadOk <- withTimingM "load" (const ()) $