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 inside function is accepted by Stainless.
inside
import stainless.lang._ object Test { def foo(): Unit = { var i = 0 def isZero = i == 0 def inside: Unit = { require(i <= 10) i += 1 }.ensuring(_ => isZero ) inside } }
The call isZero is transformed to isZero(i) where i refers to the initial value of i instead of the new value.
isZero
isZero(i)
i
The text was updated successfully, but these errors were encountered:
Temorarily disable benchmark due to issue epfl-lara#1159
67e4467
Temporarily disable benchmark due to issue epfl-lara#1159
fbe5e44
4bc0625
Temporarily disable benchmark due to issue #1159
accc84f
Fix epfl-lara#1159
e12f89e
ac1ca9e
8064e2e
Successfully merging a pull request may close this issue.
The
inside
function is accepted by Stainless.The call
isZero
is transformed toisZero(i)
wherei
refers to the initial value ofi
instead of the new value.The text was updated successfully, but these errors were encountered: