MAJ terminée. Nous sommes passés en version 14.6.2 . Pour consulter les "releases notes" associées c'est ici :

https://about.gitlab.com/releases/2022/01/11/security-release-gitlab-14-6-2-released/
https://about.gitlab.com/releases/2022/01/04/gitlab-14-6-1-released/

Commit bfb7529f authored by Andrei Paskevich's avatar Andrei Paskevich
Browse files

Revert "programs: variable substitution in program types now covers all variables"

This reverts commit f141283e.

Actually, the original code is fairly correct. Sorry for the fuzz.
parent f141283e
...@@ -236,13 +236,11 @@ end = struct ...@@ -236,13 +236,11 @@ end = struct
let rec subst_var ts s vs = let rec subst_var ts s vs =
let ty' = ty_inst ts vs.vs_ty in let ty' = ty_inst ts vs.vs_ty in
let vs' = if ty_equal ty' vs.vs_ty then
if ty_equal ty' vs.vs_ty then s, vs
vs else
else let vs' = create_vsymbol (id_clone vs.vs_name) ty' in
create_vsymbol (id_clone vs.vs_name) ty' Mvs.add vs (t_var vs') s, vs'
in
Mvs.add vs (t_var vs') s, vs'
and subst_post ts s ((v, q), ql) = and subst_post ts s ((v, q), ql) =
let vq = let s, v = subst_var ts s v in v, f_ty_subst ts s q in let vq = let s, v = subst_var ts s v in v, f_ty_subst ts s q in
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment