-
Notifications
You must be signed in to change notification settings - Fork 60
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
Verifier panic about expected call to into_inner
#1033
Comments
This appears to be a bug in the AIR -> SMT translation, where the AIR code is valid but the SMT code has
to this:
Like Dafny and F*, Verus generally doesn't need triggers on closure declarations; support for triggers in closures was added by #331 to handle some unusual situations. Apparently, they aren't always translated to SMT correctly. |
Here's a small repro of the bug that generates the SMT error
|
(I'm guessing that the fix is pretty minor: |
Was this fully resolved by #1038 or are there remaining tasks here? |
I think #1044 captures what's remaining, i.e. that certain errors unwind badly (due to the guard I put in place to avoid dropping diagnostics on the floor) and print a trace with @jaylorch @Chris-Hawblitzel I believe the issue is otherwise fixed, right? (If so, you can close and I'll get back to the issue with the error message.) |
I encountered the following panic when running the verifier. It's likely related to verifying the following function, since it doesn't panic when it's removed from the
storage_map_shard.rs
file. See attached zip file for full context.2024-03-12-18-46-28.zip
The text was updated successfully, but these errors were encountered: