Closed JunmingZhao42 closed 1 month ago
It seems that the current notion of heap[x]) doesn't accept x as an expression. For example:
heap[x])
x
fun access_ptr(1 ptr) { /*@ requires acc(heap[ptr/@biw]) @*/ /*@ ensures acc(heap[ptr/@biw]) @*/ st @base + ptr, 1337; return 0; }
has transpiled result with requires acc and ensures acc.
requires acc
ensures acc
It seems that the current notion of
heap[x])
doesn't acceptx
as an expression. For example:has transpiled result with
requires acc
andensures acc
.