Skip to content

Commit 4a9b52f

Browse files
committed
Fix invalid widen call in slr3 for globals
1 parent c348dd6 commit 4a9b52f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solver/sLR.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ module SLR3 =
6666
if tracing then trace "sol" "Contrib:%a" S.Dom.pretty tmp;
6767
let tmp =
6868
if wpx then
69-
if HM.mem globals x then S.Dom.widen old tmp (* TODO: no join in second argument, can call widen incorrectly? *)
69+
if HM.mem globals x then S.Dom.widen old (S.Dom.join old tmp)
7070
else box old tmp
7171
else tmp
7272
in

0 commit comments

Comments
 (0)