You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is actually a known verifier issue, and is related to #436, and can be currently fixed by provided many type-level modifies identifiers. There is work being done on this right now in matteobilardi/flint which should hit later today.
mrRachar
pushed a commit
to matteobilardi/flint
that referenced
this issue
Aug 22, 2019
…el rather than type level properties
- Two new AST passes to correct mutates type-level specification issues, fixing flintlang#434flintlang#436 and hopefully fixing flintlang#464
1. Generates called constructor information
2. Updates the mutates statement using the properties of the states mutates variables and the constructor calling information
- New semantic analysis extension to check as much as possible at that level that only the correct variables are mutated, as Boogie implementation does it this will enforce it by identifier
- Corrected setter mutation variable identifier
- Improved array and dictionary field access error messages
- Fixed test suite to conform with improvements
Unfortunately it appears that this issue goes a little deeper, there seem to be some mutated array variables that aren't handled correctly by the verifier
Is it possible to support such assignment:
Also, this now gives an
Illegal modification of variable not declared in 'mutates(...)'
errorThe text was updated successfully, but these errors were encountered:
8000