We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following program verifies in Carbon, but results in a permission error in Silicon:
method keydict___init__() returns (self: Ref) ensures forall key: Ref :: {keydict___item__(self, key)} acc(keydict___item__(self, key).keydict_val) && !keydict___contains__(self, key) function keydict___item__(self: Ref, key: Ref): Ref ensures keydict___item__inv(self, result) == key function keydict___item__inv(self: Ref, val_ref: Ref): Ref field keydict_val: Option[Ref] function keydict___contains__(self: Ref, key: Ref) : Bool requires acc(keydict___item__(self, key).keydict_val, wildcard) ensures result == keydict___item__(self, key).keydict_val.isSome adt Option[T] { Some(value:T) None() }
The text was updated successfully, but these errors were encountered:
This was fixed in PR #817
Sorry, something went wrong.
No branches or pull requests
The following program verifies in Carbon, but results in a permission error in Silicon:
The text was updated successfully, but these errors were encountered: