diff options
author | Phil de Joux <philderbeast@gmail.com> | 2022-07-24 07:45:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-24 13:45:59 +0200 |
commit | 2f1711b301fea88eb1d0b40d1c04b2f0539fd882 (patch) | |
tree | 4523ca2ffd88b1002036879ab593d4abaff8d417 /haddock-api/src/Haddock/Interface | |
parent | 90c38242e54d1a742426e2b1b3c7d71e226811bd (diff) |
Follow hlint suggestion: redundant $. (#1505)
* Follow hlint suggestion: redundant $.
* Remove $ and surplus blank lines in Operators.
Diffstat (limited to 'haddock-api/src/Haddock/Interface')
-rw-r--r-- | haddock-api/src/Haddock/Interface/Create.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/Interface/Create.hs b/haddock-api/src/Haddock/Interface/Create.hs index b3796906..17b9f367 100644 --- a/haddock-api/src/Haddock/Interface/Create.hs +++ b/haddock-api/src/Haddock/Interface/Create.hs @@ -331,7 +331,7 @@ mkAliasMap state impDecls = M.fromList $ mapMaybe (\(SrcLoc.L _ impDecl) -> do SrcLoc.L _ alias <- ideclAs impDecl - return $ + return (lookupModuleDyn state -- TODO: This is supremely dodgy, because in general the -- UnitId isn't going to look anything like the package |