1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 17:04:47 +03:00

Converge locally w.r.t. the environment.

This commit is contained in:
Rob Rix 2018-05-30 14:05:42 -04:00
parent adfa93f6c9
commit 10d9454895

View File

@ -93,7 +93,7 @@ convergingModules :: ( AbstractValue address value effects
convergingModules recur m = do
c <- getConfiguration (subterm (moduleBody m))
-- Convergence here is predicated upon an Eq instance, not α-equivalence
cache <- converge lowerBound (\ prevCache -> isolateCache $ do
cache <- converge lowerBound (\ prevCache -> isolateCache $ raiseHandler locally $ do
TermEvaluator (putEnv (configurationEnvironment c))
TermEvaluator (putHeap (configurationHeap c))
-- We need to reset fresh generation so that this invocation converges.