Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit b8f7bb0

Browse files
committed
Don’t provide a current FrameId.
1 parent 3654aac commit b8f7bb0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

semantic-core/src/Analysis/FlowInsensitive.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ cacheTerm eval term = do
6565
result <- eval term
6666
result <$ modify (Map.insertWith (<>) term (Set.singleton (result :: a)))
6767

68-
runHeap :: name -> ReaderC (FrameId name) (StateC (Heap name a) m) b -> m (Heap name a, b)
69-
runHeap addr m = runState (Map.singleton addr Set.empty) (runReader (FrameId addr) m)
68+
runHeap :: name -> StateC (Heap name a) m b -> m (Heap name a, b)
69+
runHeap addr m = runState (Map.singleton addr Set.empty) m
7070

7171
-- | Fold a collection by mapping each element onto an 'Alternative' action.
7272
foldMapA :: (Alternative m, Foldable t) => (b -> m a) -> t b -> m a

0 commit comments

Comments
 (0)