Typechecker gap in mir_assert #2122
Labels
needs test
Issues for which we should add a regression test
subsystem: crucible-mir
Issues related to Rust verification with crucible-mir and/or mir-json
topics: error-handling
Issues involving the way SAW responds to an error condition
topics: error-messages
Issues involving the messages SAW produces on error
type: bug
Issues reporting bugs or unexpected/unwanted behavior
usability
An issue that impedes efficient understanding and use
Milestone
Using a complicated model (from Formal VerSo) I got this:
which should not happen.
The fix for the type error was this:
IOW, the type of the expression in mir_assert was T -> Bool instead of Bool but this wasn't found by the typechecker.
Not sure yet if the problem is actually attached to
mir_assert
or if it's something about the Cryptol expression.The text was updated successfully, but these errors were encountered: