Skip to content

Commit

Permalink
Don't share tables/arrays from below a lambda
Browse files Browse the repository at this point in the history
Fixes #675
  • Loading branch information
LeventErkok committed Nov 20, 2023
1 parent 05f3f4e commit 6a69811
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Data/SBV/Lambda.hs
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ inSubState inState comp = do
, rCInfo = share rCInfo
, rUsedKinds = share rUsedKinds
, rUsedLbls = share rUsedLbls
, rtblMap = share rtblMap
, rArrayMap = share rArrayMap
, rAICache = share rAICache
, rUIMap = share rUIMap
, rUserFuncs = share rUserFuncs
, rCgMap = share rCgMap
Expand All @@ -96,6 +93,9 @@ inSubState inState comp = do
, runMode = fresh runMode
, rctr = fresh rctr
, rLambdaLevel = fresh rLambdaLevel
, rtblMap = fresh rtblMap
, rArrayMap = fresh rArrayMap
, rAICache = fresh rAICache
, rinps = fresh rinps
, rlambdaInps = fresh rlambdaInps
, rConstraints = fresh rConstraints
Expand Down

0 comments on commit 6a69811

Please sign in to comment.