Skip to content

Commit 331b2ca

Browse files
committed
fix
1 parent 5d0cf3e commit 331b2ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/lib/flow.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,7 @@ let the_shape_of ~return_values ~pure info x =
467467
if Var.Set.mem x acc
468468
then Top
469469
else
470+
let acc = Var.Set.add x acc in
470471
get_approx
471472
info
472473
(fun x ->

0 commit comments

Comments
 (0)