Skip to content
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

external_body consts panic the verifier #1322

Open
1 task
matthias-brun opened this issue Oct 29, 2024 · 0 comments
Open
1 task

external_body consts panic the verifier #1322

matthias-brun opened this issue Oct 29, 2024 · 0 comments

Comments

@matthias-brun
Copy link
Collaborator

matthias-brun commented Oct 29, 2024

[edited by @utaal]

use vstd::prelude::verus; verus!{

#[verifier(external_body)]
const A: usize ensures 32 <= A <= 52 { unimplemented!() }

}

panics verus.


utaal added a commit that referenced this issue Oct 29, 2024
utaal added a commit that referenced this issue Oct 29, 2024
utaal added a commit that referenced this issue Oct 29, 2024
@utaal utaal changed the title external_body is now disallowed for constants external_body consts panic the verifier Oct 29, 2024
utaal added a commit to principled-systems/verus that referenced this issue Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant