Skip to content

Commit

Permalink
Compiler: fix for global deadcode
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Nov 11, 2023
1 parent 319f654 commit 1b3687a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/lib/global_deadcode.ml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ let expr_vars e =
List.fold_left
~f:(fun acc v ->
match v with
| Pv v -> Var.Set.add v vars
| Pv v -> Var.Set.add v acc
| Pc _ -> acc)
~init:vars
args
Expand Down

0 comments on commit 1b3687a

Please sign in to comment.