Skip to content

Commit

Permalink
Merge pull request #3301 from mtzguido/fix_free
Browse files Browse the repository at this point in the history
Syntax.Free: fix incomplete match
  • Loading branch information
mtzguido committed May 22, 2024
2 parents d839af4 + feba44c commit 8ec46c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ocaml/fstar-lib/generated/FStar_Syntax_Free.ml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/syntax/FStar.Syntax.Free.fst
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ let rec free_names_and_uvs' tm (use_cache:use_cache_t) : free_vars_and_fvars =
| Tm_match {scrutinee=t; ret_opt=asc_opt; brs=pats; rc_opt} ->
(match rc_opt with
| Some { residual_typ = Some t } -> free_names_and_uvars t use_cache
| None -> no_free_vars) ++
| _ -> no_free_vars) ++
begin
pats |> List.fold_left (fun n (p, wopt, t) ->
let n1 = match wopt with
Expand Down

0 comments on commit 8ec46c7

Please sign in to comment.