Skip to content

Commit

Permalink
Fix simlpe havoc
Browse files Browse the repository at this point in the history
  • Loading branch information
JustusAdam committed Nov 21, 2023
1 parent b833438 commit 64f7e5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/kani_macros/src/sysroot/contracts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -603,10 +603,10 @@ impl<'a> ContractConditionsHandler<'a> {
)
}
ContractConditionsData::Modifies { attr } => {
let args = make_wrapper_args(attr.len());
quote!(
let result = #call_to_prior;
#(*#args = kani::any();)*
#(*#attr = kani::any();)*
result
)
}
}
Expand Down

0 comments on commit 64f7e5f

Please sign in to comment.