loop_old
in loop contracts
#3697
Labels
[C] Feature / Enhancement
A new feature request or enhancement to an existing feature.
loop_old
in loop contracts
#3697
Requested feature:
loop_old
similar toold
that can refers to historic values in loop contractsUse case:
where
loop_old(x)
refers to the value ofx
upon the entrance of the loop.Link to relevant documentation (Rust reference, Nomicon, RFC): #3167
Test case:
The text was updated successfully, but these errors were encountered: