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
Fix the bug of while loop invariant contains no local variables (#4022)
This PR fixes the bug of while loop invariant contains no local
variables.
Previously, for a while loop, if the loop invariant is
`#[kani::loop_invariant(true)]`, we will get an error:
"The assumptions for loop-contracts transformation are violated by some
other transformation.
Please report
github.com/model-checking/kani/issues/new?template=bug_report.md"
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
---------
Co-authored-by: Michael Tautschnig <[email protected]>
0 commit comments