old and auto-dereference
In a code such as
let ref l = 0 in
while l < 10 do
invariant { old l <= l }
l <- l + 1
done
the auto-dereference of l
in the loop invariant is performed as !(old l)
instead of old !l
as expected.
Prochaines maintenances programmées: mardi 02/04, lundi 06/05, lundi 03/06
Pour plus d'informations: https://doc-si.inria.fr/display/SU/Gitlab
In a code such as
let ref l = 0 in
while l < 10 do
invariant { old l <= l }
l <- l + 1
done
the auto-dereference of l
in the loop invariant is performed as !(old l)
instead of old !l
as expected.