diff options
author | Hécate Moonlight <Kleidukos@users.noreply.github.com> | 2021-02-09 10:58:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-09 10:58:51 +0100 |
commit | d1b7f181b60ba3ac191183f1512e66793d28ac08 (patch) | |
tree | 8c6f90cfcd22db5ede59c0172c0e28d6f974ec9e /haddock-api/src/Haddock/Backends/Hyperlinker.hs | |
parent | e57d82dde105ffbfcb27ab261041c97b4dd0150a (diff) | |
parent | 6c7d748ceb56f8c23ef3f12fc3e21cfc5ce31cd3 (diff) |
Merge pull request #1327 from hsyl20/wip/hsyl20/logger2
Fix to build with HEAD
Diffstat (limited to 'haddock-api/src/Haddock/Backends/Hyperlinker.hs')
-rw-r--r-- | haddock-api/src/Haddock/Backends/Hyperlinker.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/Backends/Hyperlinker.hs b/haddock-api/src/Haddock/Backends/Hyperlinker.hs index d85a3970..d16aa24e 100644 --- a/haddock-api/src/Haddock/Backends/Hyperlinker.hs +++ b/haddock-api/src/Haddock/Backends/Hyperlinker.hs @@ -1,4 +1,5 @@ {-# LANGUAGE OverloadedStrings #-} +{-# LANGUAGE PatternSynonyms #-} module Haddock.Backends.Hyperlinker ( ppHyperlinkedSource , module Haddock.Backends.Hyperlinker.Types @@ -18,7 +19,7 @@ import Data.Maybe import System.Directory import System.FilePath -import GHC.Iface.Ext.Types ( HieFile(..), HieASTs(..), HieAST(..), SourcedNodeInfo(..) ) +import GHC.Iface.Ext.Types ( pattern HiePath, HieFile(..), HieASTs(..), HieAST(..), SourcedNodeInfo(..) ) import GHC.Iface.Ext.Binary ( readHieFile, hie_file_result, NameCacheUpdater(..)) import GHC.Types.SrcLoc ( realSrcLocSpan, mkRealSrcLoc ) import Data.Map as M |