-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
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
File IO functions missing contracts? #1272
Comments
mario-bucev
added a commit
to mario-bucev/stainless
that referenced
this issue
May 30, 2022
mario-bucev
added a commit
to mario-bucev/stainless
that referenced
this issue
May 30, 2022
mario-bucev
added a commit
to mario-bucev/stainless
that referenced
this issue
May 30, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider the following snippet:
It seems that
tryReadByte
should at least specifies in its postcondition that the file remains open.As for
fos.write
, it seems that the requirement is for some reason ignored (edit: affected by #1274).The text was updated successfully, but these errors were encountered: