Skip to content

Commit

Permalink
fix last rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
bgregoir committed Dec 6, 2023
1 parent 1e35e99 commit 4346dc2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/ecCoreSubst.ml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,13 @@ let rec ty_subst (s : f_subst) ty =
| None -> ty
| Some ex -> ex.mex_tglob
end
| Tunivar id -> Muid.find_def ty id s.fs_u
| Tunivar id ->
begin match Muid.find_opt id s.fs_u with
| None ->
ty
| Some ty ->
ty_subst s ty
end
| Tvar id -> Mid.find_def ty id s.fs_v
| _ -> ty_map (ty_subst s) ty

Expand Down

0 comments on commit 4346dc2

Please sign in to comment.