Skip to content

Commit 9b72bf0

Browse files
committed
use bang pattern to force
1 parent 87cfc28 commit 9b72bf0

File tree

1 file changed

+2
-1
lines changed
  • hls-graph/src/Development/IDE/Graph/Internal

1 file changed

+2
-1
lines changed

hls-graph/src/Development/IDE/Graph/Internal/Action.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ apply ks = do
121121
stack <- Action $ asks actionStack
122122
(is, vs) <- liftIO $ build db stack ks
123123
ref <- Action $ asks actionDeps
124-
liftIO $ modifyIORef' ref (ResultDeps [force $ fromListKeySet $ toList is] <>)
124+
let !ks = force $ fromListKeySet $ toList is
125+
liftIO $ modifyIORef' ref (ResultDeps [ks] <>)
125126
pure vs
126127

127128
-- | Evaluate a list of keys without recording any dependencies.

0 commit comments

Comments
 (0)