Skip to content

Commit

Permalink
Fix invalid widen call in slr3 for globals
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Dec 16, 2024
1 parent c348dd6 commit 4a9b52f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solver/sLR.ml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module SLR3 =
if tracing then trace "sol" "Contrib:%a" S.Dom.pretty tmp;
let tmp =
if wpx then
if HM.mem globals x then S.Dom.widen old tmp (* TODO: no join in second argument, can call widen incorrectly? *)
if HM.mem globals x then S.Dom.widen old (S.Dom.join old tmp)
else box old tmp
else tmp
in
Expand Down

0 comments on commit 4a9b52f

Please sign in to comment.