We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0a15f6 commit 1eb63b9Copy full SHA for 1eb63b9
src/solver/sLR.ml
@@ -66,7 +66,7 @@ module SLR3 =
66
if tracing then trace "sol" "Contrib:%a" S.Dom.pretty tmp;
67
let tmp =
68
if wpx then
69
- if HM.mem globals x then S.Dom.widen old tmp
+ if HM.mem globals x then S.Dom.widen old tmp (* TODO: no join in second argument, can call widen incorrectly? *)
70
else box old tmp
71
else tmp
72
in
src/solver/topDown_term.ml
@@ -85,7 +85,7 @@ module WP =
85
and side y d =
86
let old = try HM.find rho' y with Not_found -> S.Dom.bot () in
87
if not (S.Dom.leq d old) then (
88
- HM.replace rho' y (S.Dom.widen old d);
+ HM.replace rho' y (S.Dom.widen old (S.Dom.join old d));
89
HM.remove stable y;
90
init y;
91
solve y Widen;
0 commit comments