Open etiennebirling opened 1 month ago
Thanks for the report, the lack of a proper error here is definitely a bug. In VerCors we write Viper's inhale-exhale expression as \polarity_dependent(inhale_expr, exhale_expr)
that should allow you to use \forperm
here
Crash Message
Version Information
2.2.0
HEAD
(changes=false)Arguments
forperm.c
File Inputs
forperm.c
```c struct t {int val;}; struct f {int cac;}; /*@ requires \pointer(this, 10, write); requires Perm(this->val, 1); ensures \pointer(this, 10, write); ensures (\forperm struct f * this \in this->cac; false); ensures Perm(this->val, 1); @*/ void incr(struct t* this, int n) { this->val = this->val + n; } ```Full Log