We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 378a339 commit 12cf73eCopy full SHA for 12cf73e
1 file changed
src/HieDb/Utils.hs
@@ -42,6 +42,7 @@ import qualified Data.IntMap.Strict as IMap
42
import Data.IntMap.Strict (IntMap)
43
import Data.IntSet (IntSet)
44
import Control.Monad (guard, unless)
45
+import GHC.Builtin.Utils
46
47
#if __GLASGOW_HASKELL__ >= 903
48
import Control.Concurrent.MVar (readMVar)
@@ -94,10 +95,10 @@ addTypeRef (getConn -> conn) hf arr ixs sp = go 0
94
95
makeNc :: IO NameCache
96
makeNc = do
97
- initNameCache 'z' []
98
+ initNameCache 'z' knownKeyNames
99
#else
100
uniq_supply <- mkSplitUniqSupply 'z'
- return $ initNameCache uniq_supply []
101
+ return $ initNameCache uniq_supply knownKeyNames
102
#endif
103
104
-- | Recursively search for @.hie@ and @.hie-boot@ files in given directory
0 commit comments