-
Notifications
You must be signed in to change notification settings - Fork 44
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
crux-mir doesn't handle byte -> char casts #1190
Comments
(crux-mir? crucible-mir? actually the latter, not entirely clear on the exact difference/boundary between them) |
|
Here is a test case that demonstrates the issue using pub fn b() -> u8 {
97
}
#[crux::test]
pub fn test() -> char {
b() as char
}
|
Fixed by #1191. |
crux-mir doesn't handle byte -> char casts. This came up in Formal VerSo. It isn't a problematic conversion so it seems reasonable to just implement it.
The text was updated successfully, but these errors were encountered: